Commit Graph

5376 Commits

Author SHA1 Message Date
Robby Findler
dbede3f33c get rid of (worse) implementation of find-string-embedded
that was hanging around from old times. Instead, just use the
text% find-string-embedded functionality directly
2016-07-24 04:02:42 -05:00
Robby Findler
6b16c0fd6b rackety & add test suite 2016-07-24 04:02:42 -05:00
Robby Findler
feaff67418 fix bug in searching (start from the correct editor) 2016-07-24 04:02:41 -05:00
Leif Andersen
e293d24da7 Apparently find-graphical-system-path finds the correct gracketrc file 2016-07-23 13:09:01 -04:00
Robby Findler
52300ff032 highlight search hits in embedded editors 2016-07-23 09:18:17 -05:00
Robby Findler
28ca7c6d14 improve the situation for search results in nested editors
This doesn't quite fix all the problems, as the outer editor doesn't get callbacks
when the position changes in the inner editors (and the inner ones aren't propogating
the callbacks currently) so the "n/m matches" display doesn't update properly in that
case. Also, it doesn't (yet) try to draw the search bubbles for embedded editors

Still, progress has been made; at least the bar is not red anymore when there are
hits only in embedded editors

closes PR 12786
2016-07-23 03:00:00 -05:00
Robby Findler
ed5f0ae09b clarify chaining precedence rules 2016-07-23 03:00:00 -05:00
Leif Andersen
cb81e3768d Woops, racket/gui/interactive should load .gracketrc.
(Cannot use (find-system-path 'init-file) because it will always
evaluate to .racketrc, even in gracket (where it should be
.gracketrc).)
2016-07-23 02:27:40 -04:00
Leif Andersen
0ae02837e5 Add interactive file to be used by Racket core. 2016-07-23 00:33:46 -04:00
Robby Findler
66bda1c9c8 fix marshalling bug in syntax-browser
closes #35
2016-07-22 03:25:04 -05:00
Robby Findler
d73fc00749 protect DrRacket against bugs in snipclass marshalling code
I believe this applies only when DrRacket already trusts
the handler, so this is just a debugging aid, not true protection

closes racket/drracket#49
2016-07-22 03:09:48 -05:00
Robby Findler
6941a07998 fix the "Show Active Keybindings" menu item
for the case where one keybinding's keys is a prefix of anothers (and the keymaps are chained)
2016-07-21 22:13:55 -05:00
Robby Findler
943582763e correct error checking for keymaps 2016-07-21 21:42:17 -05:00
Robby Findler
8272f99035 adjust tabifying behavior to mess with blank lines less
Be more like Emacs: when indenting only change the whitespace
on a blank line when indenting just a single line (e.g. when
hitting return or when hitting tab with a selection that
doesn't span multiple lines)

closes racket/drracket#65
2016-07-07 11:06:25 -05:00
Robby Findler
b10086ed13 add info the docs about between methods that create separator items 2016-07-07 11:06:25 -05:00
Robby Findler
0b2be755e4 do even less work before queueing the callback in hopes it is guaranteed to get queued
closes PR 15317
2016-06-30 10:14:10 -05:00
Robby Findler
af33c70558 dont use get-keyword-type as the parameter name 2016-06-28 10:12:26 -05:00
Robby Findler
09519347e2 use a hash for the preferences (instead of the real file) 2016-06-25 21:27:25 -05:00
Robby Findler
f629545c2d use pretty-write when printing in write mode 2016-06-25 09:41:52 -05:00
Robby Findler
c3322ca05d adjust indentation so that hyphens at the start of sexp causes subsequent
lines to not indent
2016-06-22 20:44:29 -05:00
Robby Findler
9f3635f399 adjust indentation so that a sequence of hyphens always moves to the start of the sexp 2016-06-22 20:41:17 -05:00
Dan Feltey
d9dbfb01fd Fix racket:text-mixin docs to include required editor:keymap<%> interface (#34) 2016-06-20 22:32:15 -05:00
Matthew Flatt
e01e970722 fix a problem in WXME decoding
Thanks to Robby for the test case and for narrowing down the problem.
2016-06-06 09:20:47 -06:00
Robby Findler
7c857706d7 added an optional argument to compute-racket-amount-to-indent 2016-06-05 08:41:10 -05:00
Robby Findler
48d2de53d5 ispell (not aspell) doesn't seem to deal correctly with non-ASCII words
so just don't try to spell check them unless we know we have aspell
2016-05-29 20:02:47 -05:00
Robby Findler
c3f4b5dedd generalize set-interactive-write-handler & use it in text:ports-mixin
to avoid duplicate code between the drracket support for printing and
for write/display; also add a special case for 2htdp/image images
because they can be trusted across the boundary between DrRacket's
implementation and the user's program (as there is no way to embed
arbitrary code into a 2htdp/image image)
2016-05-28 18:34:52 -05:00
Stephen De Gabrielle
7794ace98d Typo line 874 changed 'if' to 'of' 2016-05-27 15:40:07 -05:00
Matthew Flatt
399cfe9c5b add 'hide-hscroll and 'hide-vscroll for panel% 2016-05-18 15:30:33 -06:00
Matthew Flatt
3e6fcf18bb Cocoa: fix enable method of choice% 2016-05-18 14:33:16 -06:00
Robby Findler
10425033b8 fix marshalling of embedded editors 2016-05-15 16:02:01 -05:00
Asumu Takikawa
50fb0e9a93 Minor wording fix in highlight-range docs 2016-05-11 15:34:04 -04:00
Robby Findler
fc5c233cdd minor edit to undo docs 2016-04-20 13:11:18 -05:00
Robby Findler
0863437394 dont allow undoing of the color changes that IO uses to indicate which port is which
closes PR 15291
2016-04-20 12:37:09 -05:00
Matthew Flatt
f0d10e9cc8 OS X: disable reordering of tabs in the new tab-panel% widget
Fixes racket/drracket#52
2016-04-17 20:59:10 -06:00
Matthew Flatt
2fa9b94683 repair to work with ancient Gtk 2016-04-17 14:30:31 -06:00
Matthew Flatt
6de1e4310c fix disable of tab-panel% with 'no-border 2016-04-15 21:59:13 -06:00
Robby Findler
fdd52ef965 loosen passing predicate for number snip test 2016-04-15 18:11:29 -05:00
Robby Findler
ca2deebe47 fix ellipsis in test 2016-04-15 18:09:38 -05:00
Matthew Flatt
fc813b32ca cooperate with tethered-executable builds 2016-04-14 16:21:16 -06:00
Matthew Flatt
32f8bfd90e repairs to work with old Gtk 2016-04-14 06:06:34 -06:00
Robby Findler
eb8d060f84 fix short circuiting computation for line number drawing
closes #30

please include in the release
2016-04-11 18:06:43 -05:00
Matthew Flatt
9ef883a79f Cocoa, 64-bit, 10.10 and later: use MMTabBarView
On 10.11 in 64-bit mode, showing a frame with a PSMTabBarControl
instance somehow causes the event loop to become occupied on
mouse movements, so that moving the mouse in a `2htdp/universe`
program is slow when more than one tab is open in DrRacket. The
modern MMTabBarView widget doesn't have that problem. Also, the
MMTabBarView widget has a Yosemite look (to replace Aqua).
2016-04-07 13:12:30 -06:00
Matthew Flatt
30c8202656 fix focus for windows within a floating frame
Make the `focus` method shift focus to a floating frame. Also, shift
focus away from the floating frame when `focus` is used in an window
within the current main frame.
2016-03-28 17:25:22 -06:00
Matthew Flatt
9fdc917295 unbreak splash dialog
Bug fix is by Robby.
2016-03-27 17:38:54 -06:00
Robby Findler
c4b0dffcfa try to help the search window to have the right size
in the case that the font size has changed since it was last open

(this doesn't seem to be a problem with only one tab and
may actually be a bug in the way editor canvases with set-line-count
enabled handle font size changes, I'm not sure, but this seems
to fix a fairly annoying behavior I run into)
2016-03-27 17:40:22 -05:00
Robby Findler
3da682ebe1 add syntax-parameterize to tabbing rules 2016-03-27 16:16:19 -05:00
Robby Findler
0b8598e9d0 remove useless code 2016-03-27 16:15:38 -05:00
Robby Findler
9a9ecb72fb fix bug in keybinding table construction 2016-03-18 09:42:31 -05:00
Matthew Flatt
ac0442b990 framework preferences: add option for Control+Alt as AltGr 2016-03-17 17:01:36 -06:00
Matthew Flatt
282a22b8f0 add any-control+alt-is-altgr
Thanks to Bert De Ketelaere for helping to sort out this new
behavior.
2016-03-17 16:39:40 -06:00