Robby Findler
5fed92d72a
adjust replace-all so that it accounts for the possibility that the text didn't go away
...
closes #60
2016-12-14 15:21:36 -06:00
Matthew Flatt
b9e94f9c45
macOS: don't try to declare implementation of NSApplicationDelegate
...
There's no run-time representation of `NSApplicationDelegate`, so
trying to declare it ands up adding NULL as a protocol to the
Objective-C class for the application delegate.
Adding NULL that way leads to a crash on 10.12.1+ with TouchBar
support.
Closes racket/racket#1520
2016-12-14 13:29:56 -07:00
Stephen Chang
e627cdcba5
disable replace-all on empty search string
...
- fixes drracket internal err
2016-12-12 16:13:58 -06:00
John Clements
871e81e0e2
Merge pull request #56 from jerry-james/win-overview-word-fix
...
Changes a 'than' to 'then' in win-overview-scrbl
2016-12-02 16:45:01 -08:00
Leif Andersen
285495a706
Removed extra )
in docs
2016-12-02 14:42:40 -05:00
Jerry James
ca9d0988ab
Changes a 'than' to 'then'
2016-12-01 12:27:45 -07:00
Robby Findler
bda7409367
add some missing docs
2016-11-24 12:12:04 -06:00
Robby Findler
a115076fe4
add a GUI interface to toggle the x selection mode
...
closes PR 15365
2016-11-19 08:28:29 -06:00
William G Hatch
3b280551c2
GTK+: accumulate small scroll events into appropriate wheel events
2016-11-17 15:25:33 -07:00
Robby Findler
83a679d7f5
fix bug in the handling of the colors of the line numbers
...
closes racket/drracket#83
2016-11-16 09:23:15 -06:00
Robby Findler
e6a4865a74
dont set the style background color to the canvas background;
...
instead leave it as transparent
related to racket/racket#1507
2016-11-05 14:59:45 -05:00
Robby Findler
b52a41da23
adjust the syntax coloring so that number-snip% instances
...
are allowed to pass through the filter (as they are trusted code)
related to racket/racket#1507
2016-11-04 11:19:57 -05:00
Leif Andersen
6c78cd266a
Fixes bug in slider%
...
It would occasionally drop the last digit in the message field.
This turned out to be a bug where the number, while smaller, was wider.
For example:
11111
10101
In variable width fonts the second one will be wider
2016-10-24 14:28:49 -04:00
alex-hhh
de03f1a98f
Update editor<%> docs to clarify that undo needs to be enabled ( #49 )
2016-09-26 07:20:39 -05:00
Robby Findler
5e433c8035
fix search for containing text region
...
closes #42
closes #43
2016-09-11 20:51:19 -05:00
Robby Findler
0fae71ad0c
fix indentation newline insertion
...
closes #41
2016-08-31 18:05:23 -05:00
Robby Findler
01c665e6e9
correct insertion of spaces at the beginning of a line and indent first line in para too, after all
2016-08-25 08:36:57 -05:00
Robby Findler
0ae0a5b804
use a new algorithm for flowing paragraphs
2016-08-24 20:49:03 -05:00
Matthew Flatt
6b2f4a72ae
GTK+ 3: fix problem with sizing initially unshown items
...
This repair is especially aimed at avoiding missing toolbar
buttons in DrRacket.
2016-08-20 09:26:03 -06:00
Matthew Flatt
c700e32c17
0-sized window =/=> 0-sized backing bitmap
2016-08-19 18:16:05 -06:00
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