When using the Find tool dialog box, when you get to the last instance of that keyword found, another dialog box opens asking user if they want to "Wrap search and find again", if user chooses to do so by hitting the "Find" button it then wraps the search starting again from the top (first instance it found of that keyword). The problem with this is that if you hit your "Enter" key again to go to the next instance of that keyword, you will realize (hopefully) that the Find dialog no longer has focus and that that "Enter" key you have just it ended up modifying the text in the file you are in.
Would it be possible, to program Geany so that when the "Wrap search and find again" is choosen to be find again, to give the focus back to the "Find" dialog box instead of giving the focus to Geany instead?
I know that windows/dialogs in Linux can be tricky, if this is not possible, please let me know and I will close this issue post.
For now the best solution is to go into `Preferences - General - Misc - Search` and check `Always wrap search`
This does fix the issue but then you can get into one of those situations where you keep cycling through found keywords over and over to then realize you were just in a loop :)
So the notification that you have come to the last keyword instance can be helpful.
Geany does not have any indications for keywords found, no text # of # found or indicators that show up in vertical scrollbar like some programs include. I recommended some ideas in the "Ideas" section in "Discussions" about this but apparently coding wise this is not possible. So losing this dialog indicator with the solution mentioned above helps but is not desired because can cause some issues.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4021
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4021(a)github.com>
At the moment, when "Always wrap search" and "Hide the find dialog" are disabled in preferences, after performing wrap and dismissing the wrap dialog, the editor is focused instead of the search/replace dialog again. This interrupts keyboard-based user interaction with the dialog as users have to manually re-focus the search/replace dialog.
I haven't found a way to re-focus the search/replace dialog without hiding it first. But I actually think hiding the search/replace dialog when the wrap dialog is shown is a cleaner UI than having the two dialogs on top of each other.
Fixes #4021.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4096
-- Commit Summary --
* Move show_wrap_search_dialog() to search.h
* Hide find/replace dialogs when wrap dialog is shown
* Remove parent argument from document_find_text() and search_show_wrap_dialog()
-- File Changes --
M src/document.c (46)
M src/document.h (2)
M src/search.c (59)
M src/search.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/4096.patchhttps://github.com/geany/geany/pull/4096.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4096
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4096(a)github.com>
I really feel that this one could be a very useful update, if this is possible to add.
This would be for the "Documents Only" setting in the Sidebars context menu, the other two views available “Show Path” and “Show Tree” would not be able to use this.
Currently the "Sidebar - Documents" tab appears to use alphabetical order to sort the list of currently opened documents.
(Unfortunately it also uses a common Linux based sorting approach where it puts capital letters above lower case letters which I do not understand personally)
`Sorting Example:`
01 - apple.txt
Apple.txt
Zebra.txt
apple.txt
zebra.txt
If possible I am suggesting to add a setting to the context menu to allow the sort method to be changed.
Depending on how many sorting options developer decides to add, might have to be a flyout.
Sort:
-Alphabetically -----default method currently used by Geany
-Alphabetically (Not Case Sensitive)
-Date
-Based On Tab Order
The main one I am interested in personally is the "Based On Tab Order" sort method.
I would like my Sidebar - Documents to follow the same order as how they are opened from left to right in "Editor tabs bar"
It is strange to have one that sorts alphabetically and the other does not.
Would really like the "Documents" sidebar tab to mimic the Editor tabs, like it is a "Vertical Tab" sidebar.
Also looks strange when using keybindings to navigate through tabs, because the cursor bounces around between items rather then next/previous items in the list.
I have read/seen in the manual that this is mentioned, so it is known about.
Was wondering if there are any developers that would be interested in updating this, if possible.
Hopefully someone will consider this.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4187
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4187(a)github.com>
Linux / Debian 12 Based
Geany 2.0
Steps To Reproduce:
-Go into `Preferences - Keybindings` section
-Move cursor highlight to an action
-Press your Right Arrow key
-You will notice that the focus gets moved from the `Action` column to the `Shortcuts` column which is strange
-Even stranger is if you then hit your Enter key while the focus is in Shortcuts column
-You will notice that it enters a field allowing you to type in letters and numbers into that field but they are not actually keybindings assigned because you cannot assign any keys with modifiers, it is just text that is showing up in that column.
Seems like this is a bug, if anyone can confirm.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4184
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4184(a)github.com>
In "Preferences - Keybindings", I am referring to the "Grab key" dialog box which is the dialog where user can assign keybinding
(strange naming of this dialog, mentioned updating this here #4185)
Might be too tricky to achieve/not worth doing but, a common action/habit is being able to hit your `Enter` when dialogs are open to apply the "Confirm/OKAY" button.
The `Enter` key by itself is probably not going to be assigned to any action within Geany because it already is used for important action, however the `Enter` key is supported, which can cause issues.
Maybe can consider removing the `Enter` key by itself from being able to be assigned as a keybinding.
This dialog also currently has the focus on the "CANCEL" button, which the Enter key will not work on anyways.
If this update is made, maybe can also change the focus in the dialog to the "OKAY" button instead.
This way
`Enter` = OKAY button
`Escape` = CANCEL closes the dialog (as it already does currently)
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4186
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4186(a)github.com>
This I believe is my last Lua script request I have for the GeanyLua plugin.
This one although I do have a use for this, is more for learning purpose.
I do not think any other users will really find this one useful.
Was wondering if anyone would be willing to provide two Lua scripts that when applied, adds a specified number of blank lines to current document. Basically the equivalent of hitting the "Enter" key over and over “x” amount of times.
No dialog boxes need, would just like to be able to just change the number of lines to be added within the Lua script text file itself, if possible.
Two scripts
1.) Add 15 blank lines below line that cursor is currently in
2.) Add 25 blank lines to the bottom of the current document regardless of where cursor is.
Thank You to anyone interested.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4091
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4091(a)github.com>
I was trying to come up with a way to have (two) static keyword find tools in Geany that can be linked to hotkeys.
1.) "Next" - One tool would find/navigate to/select the next instance of that static keyword
2.) "Previous" - The other tool would find/navigate to/select the previous instance of that static keyword
-They would be based on where the cursor/caret is in the document (which line they are in)
-If there are no other instances of that keyword found below (or above if using "Previous" tool) then the highlight would just stay in that line and not advance any more to any other lines.
-No dialogs would show up.
If this cannot be done specifically within Geany itself, I am trying to have any custom tools be Lua based if possible.
In searching the GeanyLua plugin documentation I came across `geany.find` which appears to be able to achieve what I am looking to achieve. I was wondering if anyone would be interested in creating something like this in a Lua script?
`DESIRED TOOL USE`
These two tools can obviously be used for any static words but one of the main uses I am looking for are tools to achieve the following.
If I add a "separator/divider" line made out of keyboard symbols to a document such as
`###################################`
I would like to be able to find the next/previous instances of them.
I like some of the Find tools already provided by Geany but you cannot setup a static keyword search. If you try find tool and type in "####" it will literally find each instance of this so it finds "####" multiple times in each divider line, so that will not work.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4171
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4171(a)github.com>
I was wondering if it would be considered to add a setting that would allow your right arrow key to open items under the cursor/highlight.
Right arrow on folders = expand folder
Right arrow on files = open that file in Geany tab (same action as when you hit enter, but a little more convenient because hand is already on arrow key section of keyboard)
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1400
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1400(a)github.com>
Suggesting to add a keybinding that opens straight to the “Keybindings” section in the “Preferences” window.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4163
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4163(a)github.com>