GNOME Bugzilla – Bug 671975
Cursor location jumps around when saving
Last modified: 2019-02-22 03:40:52 UTC
Gedit 3.3.7 When editing a .tex file with the latex plugin enabled, each time the file is saved (and hence re-parsed) the location of the cursor moves to a random place near the end of the file, and sometimes text is selected. To recreate 1) gedit -s test/article.tex 2) type \cite{dijkstra76} 3) hit enter --> cursor location in file changes.
Confirmed, multiple users are affected according to launchpad: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949 A fix has been proposed there, too.
This should be fixed by http://git.gnome.org/browse/gedit-latex/commit/?id=34542364508a040a283e1d641b17df960da3f646
(In reply to comment #2) This indeed fixes the issue for me.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
This Problem Is not fixed, I tried applying the patch, I have also tried with the full development version, checked out using git. The problem remains, only now you have to click on a section in the outline window to trigger the courser movement on the next save, instead of it occurring from the onset with the latex plug-in enabled.
Confirmed, the bug is _not_ fixed. See: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949 Workaround: disable "Follow editor"