Robby Findler
366b27b05b
add more operations on number snips
2017-04-18 08:01:23 -05:00
Robby Findler
0c79a90c69
remove line that should not have been included in afa4037109
...
related to racket/drracket#106
2017-04-16 21:29:33 -05:00
Robby Findler
afa4037109
track α in color preferences
...
fixes racket/drracket#106
2017-04-16 18:24:11 -05:00
Daniel Feltey
0354106ed8
New implementation of move/copy-to-edit plus docs and tests
2017-03-07 06:07:43 -06:00
Robby Findler
2995cdfc2a
adjust the frame memory use count so that it updates periodically
...
more specifically, every second it will check the memory use;
if the change is more than a megabyte it will update the display
(without some kind of buffer like that, the result will be
different each time it is polled; I tried that an it was
too distracting)
closes racket/drracket#92
2017-01-28 09:37:33 -06:00
Robby Findler
1b10e27b5d
adjust various things so that the group test can be run in
...
a single process and without (I believe) depending on the
OS's idea of which frame has the focus
2017-01-15 18:28:09 -06:00
Robby Findler
97b23af4b1
Rackety
2017-01-15 07:59:09 -06:00
Robby Findler
7e44c4cfeb
fix a leak exposed by da4d2db396
2017-01-11 12:05:41 -06:00
Robby Findler
141eee8cbc
add set-get-token to color:text-mode<%>
2016-12-23 11:49:26 -06:00
Robby Findler
27569696b3
bring down below 102 columns
2016-12-23 11:47:50 -06:00
Robby Findler
62a70a6593
avoid a little copying
2016-12-19 14:04:44 -06:00
Robby Findler
23f9677e52
avoid copying bytes when not necessary
2016-12-19 14:04:44 -06:00
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
Stephen Chang
e627cdcba5
disable replace-all on empty search string
...
- fixes drracket internal err
2016-12-12 16:13:58 -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
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
Robby Findler
d0376db70a
Rackety
2016-08-19 09:28:10 -05:00
Robby Findler
ce1ded41f2
fix leak
2016-07-30 20:30:48 -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
Robby Findler
a8574ce5e6
missed a call to do-search
2016-07-26 01:11:49 -05: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
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
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
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
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
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
Robby Findler
10425033b8
fix marshalling of embedded editors
2016-05-15 16:02:01 -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
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
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
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
Robby Findler
28406b9a76
remove the restriction that new preferences can be registered only before a snapshot is grabbed
...
also improve the docs a little bit and some Rackety
2016-03-08 09:29:03 -06:00
Robby Findler
da7a258da8
bring down below 102 columns and fix a set! expression
...
to actually have an effect
2016-03-07 08:30:32 -06:00
Robby Findler
ab063326fe
change indentation strategy for sequences whose head is a keyword
...
assume that these are part of some internal structure of something
that, in general looks like
(#:x 1 #:y 2 #:z 3)
and so prefer to indent like this:
(#:x 1
#:y 2
#:z 3)
instead of like this:
(#:x 1
#:y 2
#:z 3)
2016-02-25 10:37:44 -06:00
Robby Findler
c8c8ce64eb
use the right font for sizing the line numbers invalidate region
...
closes #41
2016-02-19 09:03:39 -06:00