This happens on Windows only
I load a large XML file into Scite -- about 2/3 of the
lines are folded when I enter word-wrap. The
file is part of the openkomodo installation code --
it's under MPL/GPL/LGPL, so no problem attaching it.
Move to line 1870 (out of 5273)
Turn off word-wrap.
The top-line in the buffer is now line 2947, but the
cursor is at line 1870, as before.
Editor::ReconfigureScrollBars() is a stub, which is
implemented for Mac and GTK, but not Windows.
I tried to do this manually in Komodo, and found that
the screen coordinates aren't updated until the routine
stops running, and Scintilla gets a chance to
sync itself. Looks like it's the same problem.