Page 1 of 1

Alphabetic sorting of Documents in Navigator

Posted: Sat Dec 21, 2013 5:47 am
by aphor
I'd really like to see an option to keep the files listed under Documents in the Navigator pane sorted alphabetically.

"Options -> Editor Options -> General -> Automatically sort files on open"
only seems to apply to the tabs in the documents bar.

If I only use the Documents bar to change between files, the listing in the Navigator pane remains sorted, but as soon as I select a file using the Navigator pane (my preferred way to switch - I generally have the Documents bar turned off), the selected file always unsorts (usually, but not always, to the end of the list) until I manually re-sort it using the Documents bar.

Posted: Sat Dec 21, 2013 7:05 am
by jussij
I will look to link the sorting of both the document bar and the navigator panel to that sort option.

I suspect this should be fairly easy to do, so look out for a new Zeus beta with this feature early in the new year.

I will post a link to that beta in this thread when it is available ;)

Cheers Jussi

Posted: Sun Dec 29, 2013 1:10 pm
by jussij
This feature has been added to the beta version found here: http://www.zeusedit.com/z300/ze397r-beta.zip

To use the files in this zip file just make a backup copy of the Zeus install folder and replace the files contained in that folder with the ones in the zip file.

Cheers Jussi

Posted: Thu Jan 02, 2014 9:48 pm
by aphor
Works beautifully, thanks! No more searching the list for my files :D

Posted: Mon Jan 06, 2014 8:52 pm
by aphor
I found an edge case that doesn't behave as expected. If I have:
c:\Dir1\File1.txt
c:\Dir2\File1.txt (note, same filename)
and open both, I still see the old behavior of the files moving around in the "Documents" folder.

Not a big deal, I just wanted to point it out in case the fix is trivial.

Thanks!

Posted: Tue Jan 07, 2014 5:53 am
by jussij
Why this is happening is the file sorting is only being done on the file portion of the full name and not the directory portion.
Not a big deal, I just wanted to point it out in case the fix is trivial.

This should be easy enough to fix ;)

Cheers Jussi

Posted: Wed Jan 08, 2014 4:14 am
by jussij
This issue should be fixed in the latest beta found here: http://www.zeusedit.com/z300/ze397r-beta.zip

Cheers Jussi

Posted: Wed Jan 08, 2014 10:54 pm
by aphor
Exactly what I wanted. Thanks!