Jon Rafkind
1093b4a430
get the line number from the paragraph
2010-11-03 17:16:34 -06:00
Jon Rafkind
68c197f639
clean up line numbers code
2010-11-03 15:15:54 -06:00
Jon Rafkind
4a69c36258
use line locations instead of counting snips
2010-11-03 14:56:05 -06:00
Jon Rafkind
87cc623a6f
set clipping for regular text. minor optimization when choosing line numbers to draw
2010-11-02 13:09:54 -06:00
Jon Rafkind
eb89a429e7
set the font before computing the distance between the line numbers and the real text. add an option to the general pane to enable line numbers
2010-11-01 23:45:00 -06:00
Jon Rafkind
4f3e87d42a
replace the line number widget in drracket with the new mixin from the framework
2010-11-01 22:14:45 -06:00
Jon Rafkind
281138d4b8
clean up line numbers implementation
2010-11-01 22:14:45 -06:00
Jon Rafkind
dc6350244d
add first draft of a mixin for text% objects that displays line numbers
2010-11-01 22:14:44 -06:00
Matthew Flatt
aac7e0b58a
extend invalidate-bitmap-cache' in
editor<%>' with 'display-end option
...
which the framework's background-rectangle implementation can use
to queue refreshes for changing rectangles, instead of requiring a
full-canvas refresh
2010-09-19 19:22:22 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00