I finally figure out a method to fix this bug::

One can change /usr/lib/gedit/pluins/latex/latex/editor.py as

    def on_save(self):
        """
        The file has been saved

        Update models
        """
        if self._preferences.get("outline-connect-to-editor"):
            self._preferences.set("outline-connect-to-editor", False)
            self.__parse()
            self._preferences.set("outline-connect-to-editor", True)
        else:
            self.__parse()

This work for me. 
The idea is when saving the document, we disconnect the outline and the editor. 

** Changed in: gedit-latex-plugin (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to