[Geany-devel] Problem with setting position in document after reloading

Nick Treleaven nick.treleaven at xxxxx
Mon Jul 12 12:49:47 UTC 2010


On Sat, 10 Jul 2010 01:57:27 +0200
Jiří Techet <techet at gmail.com> wrote:

> There's one more problem related to wrong cursor position. After
> updating to Scintilla 2.12 (also bisected) when a file is opened from
> a message window at certain line (e.g. by clicking at ./foo.c:80:
> resulting from find in files) the document position is different when
> the file is loaded for the first time (the first click in the message
> window) from the position when the document is reloaded for the second
> time (the second click in the message window). This is possibly just a
> Scintilla 2.12 bug but might be also related to the above bug (why
> does the editor behave differently when the document is opened for the
> first time from the case when it's (re)opened for the second time?).
> 
> Also it happened to me several times that when I opened a file by
> clicking a result of FIF in the message window, the found line was
> below the current viewport. I haven't encountered this recently so
> maybe it has been fixed in the meantime, just reporting it for
> completeness.

I haven't looked at the selection issue yet, but the quoted problems
above may be fixed:

Revision: 5098
          http://geany.svn.sourceforge.net/geany/?rev=5098&view=rev
Author:   ntrel
Date:     2010-07-09 12:12:23 +0000 (Fri, 09 Jul 2010)

Log Message:
-----------
Fix scrolling the editor line in view after loading a session and
switching document tabs. Note this causes repainting so needs
improvement.

Regards,
Nick



More information about the Devel mailing list