Commit Graph

9 Commits

Author SHA1 Message Date
Robby Findler
2559cc2800 improve the interactivity of DrRacket's search
Changes the implementation of highlight-range so that it
only recomputes all of the new locations from the positions
when on-reflow is called (otherwise only computing the
relevant ones) and make the on-reflow callback chop itself
up, in case there are lots of highlighted ranges to avoid
tying up the event loop.

Changes searching so that it doesn't neccessarily compute
the entire search results in a single event callback
(but also make it start the computation more aggressively)

Overall, this changes the strategy from one that, for any potentially
long-running callback, just tried to push it off into the future, into
a strategy that tries to avoid long-running callbacks by breaking the
work up into chunks, but starting the first chunk immediately (in a
low-priority callback).

Also, misc other changes to make this work better and generally clean
things up.

original commit: 5197649cb7556abd96282d3a838c4ba4f7c8de8c
2012-11-25 20:58:13 -06:00
Robby Findler
d60426e9a6 the autosave file might be deleted by the user after it is created
the first time but before the file is actually saved. guard against that.

closes PR 12698

original commit: 35e818ae50eea159f10c996c3475198bc321c662
2012-04-13 10:04:25 -05:00
Robby Findler
221e28c123 adjust the autosave error code to print the stacktrace
related to PR 12400

original commit: d580518e66573692e6258c04d94b25e23f3bbf93
2011-11-28 15:34:30 -06:00
Ryan Culpepper
7fb542cbf5 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Eli Barzilay
950c968e77 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Robby Findler
73e0722fcd added get-pos/text-dc-location method to editor:basic in framework
original commit: f93ff4de26248f6d3b2fd96c4a9da0c470c1494e
2011-06-26 15:49:55 +08:00
Asumu Takikawa
ae8faa265d Fixed inconsistent return values for get-pos/text.
original commit: 4b575c315b02e71c32823e155d2e32a3445a6817
2011-04-29 14:11:21 -04:00
Eli Barzilay
2c1b48d3c4 Change a bunch of "~%" and "~n" in format strings to "\n".
original commit: 7dc4d2e5a63ab416d90e44d7bf75cb5593329909
2010-08-25 17:17:01 -04:00
Matthew Flatt
5adf804728 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00