Robert Roessler:

> It may be possible to "fix" this by doing the following: when I get to
> the last step of a multi-step undo/redo, IF I "know" that I have
> deferred some screen updates, THEN force a full screen/scrollbar
> repaint.  Do you think this will work - in the "logically correct" sense?

   There are some other problems such as the wrap code using the position to
indicate where it should invalidate wrapping data. You lose this if it only
sees the final step.

   A flag indicating if any of this batch has had lines added or deleted
could be used for two of the checks. SC_MOD_CHANGEMARKER should not be set
at the same time as mh.linesAdded. The logic here is a bit tricky so may
require further tweaking. If you feel it is worth expending time then it
should be OK.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to