Please find attached my patch for this bug. I have basically redefined the old _on_cursor_changed into a new method, _cursor_changed_event, and used it inside _on_row_activated. This seems to work nicely, for no stuff is being disconnected and such.
Here's the code (file is outline.py in the main plugin directory): def _on_cursor_changed(self, view): #Uncomment the line below to get the old behaviour #self._cursor_changed_event(view) pass def _cursor_changed_event(self, view): selection = view.get_selection() if not selection: return store, it = selection.get_selected() if not it: return outline_node = store.get_value(it, 2) self._on_node_selected(outline_node) def _on_row_activated(self, view, path, column): it = self._store.get_iter(path) node = self._store.get(it, 2)[0] self._on_node_activated(node) #Comment the line below to get the old behaviour self._cursor_changed_event(view) ** Attachment added: "Possible fix to this bug" https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949/+attachment/3439412/+files/outline.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990949 Title: Editor scrolls down after editing and saving a tex file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/990949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs