racket/collects/mred/private/wxme
Robby Findler 0264d3d5ad Adjust text%s so they don't call on-reflow as often
Specifically, when a style change happens that ends up
not changing the size of anything, then track that
lack of size change enough to be able to avoid
calling on-reflow.

This is important for the interaction between the
colorer and the search bubbles in DrRacket. That is,
when you make an edit that causes the colorer to have
lots of work, then each chunk of work it does before
yielding control to the event loop would also trigger
a call to on-reflow, which would cause the search bubbles
to recompute their sizes. Overall, the main bad thing
this does is cause lots of allocation and aside from
that it doesn't hurt interactivity. Still, there is a
lot of useless work here, and those extra GCs can be
pretty substantial when you're doing something crazy like
searching for " " in a big file.... (there are 95k spaces
in unit.rkt, in case you were curious)
2012-11-25 20:58:13 -06:00
..
const.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
cycle.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
editor-admin.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
editor-canvas.rkt improve editor-canvas resizing 2012-09-13 14:17:14 -06:00
editor-data.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
editor-snip-class.rkt Fix requires to avoid circular dependencies. 2012-03-30 23:34:34 -04:00
editor-snip.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
editor.rkt racket/gui: fix some concurrency problems `text%' 2012-05-05 10:32:05 -06:00
keymap.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
mline.rkt Adjust text%s so they don't call on-reflow as often 2012-11-25 20:58:13 -06:00
pasteboard.rkt racket/gui: fix some concurrency problems `text%' 2012-05-05 10:32:05 -06:00
private.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
standard-snip-admin.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
stream.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
text.rkt Adjust text%s so they don't call on-reflow as often 2012-11-25 20:58:13 -06:00
undo.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
wordbreak.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00
wx.rkt A bunch of scheme' -> racket' conversions. 2012-04-19 16:02:03 -04:00