SciTE 3.2.1 on Windows: In SciTEGlobal.properties, I've defined buffers=100. When I open two files and switching from buffer 1 to buffer 2 and switching back from buffer 2 to buffer 1, then the current position of the buffer 1 is lost and SciTE scrolls automatically the buffer to another position.
This occurs only when the current position was near the end of the buffer and when I use the Wrap option on files with long lines.
Wrapping is a background task so will not have reached the end of the file when the scroll is attempted.
I am unlikely to work on this.
It seems this problem is exactly the same as reported in bug #3543212 so you can close it as a duplicate of #3543212.
I've tried with older versions of SciTE (3.1.0 and 3.0.4) and this problem already exists in these older versions.
Best regards.
#3543212 was really a problem in Notepad++ whereas this one in in SciTE so I'll leave it open.
This looks like a likely cause of Komodo bugs
http://bugs.activestate.com/show_bug.cgi?id=98630 and
http://bugs.activestate.com/show_bug.cgi?id=98716
We have very little application-level code that modifies
XOffset and FirstVisibleLine apart from when buffers are
initialized, and I tried tracking all mods to Editor.xOffset
in Editor.cxx, and saw nothing.
This bug does not appear to be related to the bugs referenced from Komodo. This bug is about vertical positioning with word wrap. The referenced bugs are about horizontal positioning with word wrap off.
Last edit: Neil Hodgson 2013-04-18
True, I'll create a new bug on this.
Improved with [8ac468].
Related
Commit: [8ac468]