Commit Graph

5387 Commits

Author SHA1 Message Date
Robby Findler
d0376db70a Rackety 2016-08-19 09:28:10 -05:00
Stephen De Gabrielle
0e99b1f286 correct small typo in 'Animation in Canvases' (#40)
flushing to the screen can be starved if flushing is frequently suspend.
changed to
flushing to the screen can be starved if flushing is frequently suspended.
2016-08-19 07:37:35 -05:00
Robby Findler
ce1ded41f2 fix leak 2016-07-30 20:30:48 -05:00
Leif Andersen
68dcd1156d Updated docs to point to gui-interactive.rkt 2016-07-30 13:38:47 -04:00
Robby Findler
1df6383e3c fix ascii-art-enlarge-mode tests 2016-07-30 10:36:44 -05:00
Robby Findler
18404570dd improve support for editing the ascii art (unicode) #2d rectangles
specifically, add a mode that avoids breaking the edges of
the rectangle when you type and add a keystroke for adding
a new in the existing row
2016-07-30 04:55:01 -05:00
Robby Findler
fcd134eebe more search fixes 2016-07-26 19:15:48 -05:00
Leif Andersen
4053cb1e16 gui-doc now depends on xrepl doc. 2016-07-26 10:30:05 -04:00
Leif Andersen
ef78d330b6 Move docs for racket/gui/init and racket/gui/interactive
Previously they were part of the base repo.
2016-07-26 09:41:58 -04:00
Robby Findler
a8574ce5e6 missed a call to do-search 2016-07-26 01:11:49 -05:00
Leif Andersen
1801eac125 racket/gui/interactive should be using racket/base
Previously it was using racket/gui
2016-07-25 22:39:16 -04:00
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