I just created another version of this. This time it has one more sorting method: Sorting by folder (which refers to the folder in the documents list in the sidebar, and does exactly what it has to do: sort documents the way the sidebar sorts them). I thought this would solve the ambiguity that makes us wonder how 'Sort by pathname' should really sort the documents: whether to copy sidebar's way of sorting them, or whether to just sort them based on their complete pathnames. This time, 'Sort by pathname' does it simpler: get the directory part through doc->realpath. If realpath is NULL, the directory is simply an empty string.

I placed the the changes in another branch: https://github.com/konsolebox/geany/tree/sort_tabs_v2

Aside from adding the new feature, these changes were also made:
(List copied from konsolebox@7adbc1e)

And these are the preview images: http://imgur.com/a/PySmh

The last image is about the newer update (konsolebox@474c5ef) where the radio options are converted to a combobox.

I can forward the changes here if it's wanted.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.