One thing more. In that same function invalidating the caret causes
an entire redraw when the caret is in the scrolled area. This
doesn't seem necessary and hurts scrolling performance when the caret
is visible.
Thanks again,
Jason
On Feb 6, 2006, at 10:07 AM, Jason Haslam wrote:
Hi,
I've been having a look at the vertical scrolling code in
Editor::ScrollTo. I can see that some optimization can be done in
the various platforms if the number of lines scrolled is ten or
less. I wonder why this is limited to ten lines? I can imagine
cases where a scroll of greater than ten lines but less that an
entire page might be generated which could benefit from some
optimization.
Thanks,
Jason
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest