Daniel Feltey
0354106ed8
New implementation of move/copy-to-edit plus docs and tests
2017-03-07 06:07:43 -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
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
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
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
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
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
c8c8ce64eb
use the right font for sizing the line numbers invalidate region
...
closes #41
2016-02-19 09:03:39 -06:00
Robby Findler
fe77bb34d4
more on scroll-by-copy
...
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Robby Findler
f91ec3df28
fix all-string-snips? predicate
2015-07-25 16:44:22 -05:00
Robby Findler
d1e3a991cd
disable overwrite mode when the overwrite keybindings are disabled
2015-05-12 09:02:53 -05:00
Robby Findler
ab998c9f53
add all-string-snips<%> and all-string-snips-mixin
...
This is pulled out of DrRacket, mostly just to be able to add test cases
2015-05-09 11:17:54 -05:00
Robby Findler
d9fd94f608
fix handling of snip%s that don't have a snipclass
2015-05-04 18:01:47 -05:00
Robby Findler
469add8d57
add 'snip-special's to text:ports<%> in the framework
...
related to PR 15049
2015-05-02 17:49:19 -05:00
Robby Findler
955eb9755c
remove problematic and unecessary syncronization
2015-04-30 09:01:46 -05:00
Robby Findler
c33027cfea
refactor to separate the two modes of flushing into their own separate pieces of code
2015-04-30 08:57:53 -05:00
Robby Findler
ce926b4692
pull the keybindings code out of the framework compound unit structure
2015-03-14 13:05:27 -05:00
Robby Findler
027ce3bdc2
fix drawing bug in line-numbers and special-first-line support
...
This drawing bug was that the DC's state wasn't being
initialized all of the way. In particular, the text-mode
wasn't being set and so, in rare occasions, other drawing
code would (legally) leave it in 'solid mode with a non-white
background color also set. Which would cause those two things
to draw incorrectly.
2015-01-15 16:31:26 -06:00
Robby Findler
927289cd8e
make the search/replace button actually finish
...
all the internal work before returning from the button callback
closes PR 14906
2014-12-30 11:59:30 -06:00
Robby Findler
9551380791
add after-set-port-unsaved-name and set-port-unsaved-name
2014-12-11 21:33:42 -06:00
Robby Findler
df7cccdb43
fix queue manipulations in text:ports-mixin
...
closes PR 14871
test case included in drracket repo
2014-12-08 13:24:57 -06:00
Sam Tobin-Hochstadt
135e357a37
Remove extra directories.
2014-12-02 02:33:07 -05:00