Neil Hodgson wrote:
...
Works well for me.
The LexCaml.cxx modification and the indicator modification are committed but I'll wait a bit for the others to be stable.
I have commented the SCN_MODIFYATTEMPTRO thread with details of that patch's status.
As for "lazy" Undo/Redo, I went ahead and tweaked SetScrollBars() to return a bool which will be true if a Redraw() was done. There are a *lot* of places (in Editor.cxx) that do a SetScrollBars() followed immediately by a Redraw()... or there were. :)
Those now look like
if (!SetScrollBars())
Redraw();ONE place that had Redraw() FOLLOWED by SetScrollBars() is the end of Editor::SetDocPointer()... I was so tempted that I used the above code there too, so you may need to explain why that is a "Bad Idea(tm)".
The latest multi-patch archive appears below - it has CellBuffer.cxx, Document.{cxx,h}, Editor.{cxx,h}, and Scintilla.h.
http://www.rftp.com/lazyro.zip
Robert Roessler [EMAIL PROTECTED] http://www.rftp.com _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
