New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add features for sorting editor tabs #1144
Closed
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
a64749e
Allow document_get_notebook_child() to be used globally
konsolebox 803d6a6
Add capability to sort editor tabs
konsolebox 138dd09
Add keybindings for sorting editor tabs
konsolebox 04eb16b
Add capability to automatically sort editor tabs
konsolebox e943a3d
Fix syntax error on win32.c
konsolebox 764ff76
Fix and enhance sorting of editor tabs based on pathnames
konsolebox 11bfad0
Revert "Fix syntax error on win32.c"
konsolebox 5bd8b52
Revert "Add capability to automatically sort editor tabs"
konsolebox 474c0a5
Add capability to automatically sort editor tabs (v2)
konsolebox defc554
Add documentation
konsolebox 4f219bd
Use GEANY_STRING_UNTITLED as directory if file is untitled.
konsolebox 72894fe
Place declaration of document_get_notebook_child() inside GEANY_PRIVATE
konsolebox 7e7d375
Move GEANY_KEYS_NOTEBOOK_SORTTABS_* closest to GEANY_KEYS_COUNT
konsolebox db8d823
Use the Stash for the auto-sort settings
konsolebox d8c4f70
Fix wrong definition of callback function
konsolebox 646e815
Also auto-sort when document is saved to a new file
konsolebox dc07e0c
Simplify stuff, and make automatic sorting gradual
konsolebox 85d5b31
Rename npages to n_pages
konsolebox c064984
Rename gradually_sort_doc_* to gradually_sort_tab_*
konsolebox ed809af
Say "sort by", not "sort based on"
konsolebox 6d99001
Share get_doc_folder as sidebar_get_doc_folder and use it.
konsolebox bf3d1df
Use GPtrArray instead of GArray
konsolebox bb54fc1
Apply function simplifications by @b4n
konsolebox b7ba772
Do not skip automatic sorting even when editor tabs are disabled
konsolebox a6b84e2
Use radio buttons for the auto-sort options, and use a single paramet…
konsolebox aaeab39
Convert an if-else block to a simple one-line
konsolebox File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure which one is more correct: to say "sort based on filename", or to say "sort by filename". I find the former more technically correct, even though the latter is more common.