Alphabetic sorting of Documents in Navigator

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
aphor
Posts: 21
Joined: Mon Dec 16, 2013 6:01 am

Alphabetic sorting of Documents in Navigator

Post 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.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
aphor
Posts: 21
Joined: Mon Dec 16, 2013 6:01 am

Post by aphor »

Works beautifully, thanks! No more searching the list for my files :D
aphor
Posts: 21
Joined: Mon Dec 16, 2013 6:01 am

Post 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!
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This issue should be fixed in the latest beta found here: http://www.zeusedit.com/z300/ze397r-beta.zip

Cheers Jussi
aphor
Posts: 21
Joined: Mon Dec 16, 2013 6:01 am

Post by aphor »

Exactly what I wanted. Thanks!
Post Reply