I have looked around at the behavior of this bug. It appears that the documents are arranged in the order of opening because of how they are stored in `DocumentView.docs`. I think that `DocumentView` needs to keep it's `.docs` GLib.List in order of tabs.
Also, the scroll position of each document is not preserved. I think `Document` needs a `get_state` method to retrieve it's path, scroll X/Y and current language. I am adding a bug for scroll position.
I have looked around at the behavior of this bug. It appears that the documents are arranged in the order of opening because of how they are stored in `DocumentView. docs`. I think that `DocumentView` needs to keep it's `.docs` GLib.List in order of tabs.
Also, the scroll position of each document is not preserved. I think `Document` needs a `get_state` method to retrieve it's path, scroll X/Y and current language. I am adding a bug for scroll position.