Highlight search box after enter

Post Reply
karhu
Posts: 2
Joined: 28.04.2026 21:57

Highlight search box after enter

Post by karhu »

Hello, my question is with regards to if it would be possible to customize how the search/find function works. I came from N++ and in that program once you press Enter to do a search the text within the search box becomes highlighted again. Meaning if I wanted to search the first occurrence of "2222" after the second occurrence of "1111" my order of operation in N++ would be: Ctrl+f - 1111 - Enter - Enter - 2222 - Enter. In CudaText, at least with default settings, after the second Enter I have to either Backspace, Ctrl+f again, UpArrow, or highlight with mouse double click.

Is there a setting I'm too dumb to find to make CudaText function in my preferred way?

Thank you for your time and effort maintaining this awesome program, cheers.
main Alexey
Posts: 3067
Joined: 25.08.2021 18:15

Re: Highlight search box after enter

Post by main Alexey »

del
Last edited by main Alexey on 29.04.2026 17:32, edited 1 time in total.
main Alexey
Posts: 3067
Joined: 25.08.2021 18:15

Re: Highlight search box after enter

Post by main Alexey »

After thinking.
Sublime / VSCode find-dialog also don't do select-all after Find-action. Cud tries to mimic them more than it tries to mimic Notepad++. so I think we don't need this feature. option? we have too many options. better don't add an option.

You can press Ctrl+A in the find-input, to select-all-text there. It's the workaround.
main Alexey
Posts: 3067
Joined: 25.08.2021 18:15

Re: Highlight search box after enter

Post by main Alexey »

I found the solution: I will add the plugin-API and will write small plugin for you, which will run select-all after Find/Rep buttons press. Pls wait.
main Alexey
Posts: 3067
Joined: 25.08.2021 18:15

Re: Highlight search box after enter

Post by main Alexey »

Here is new windows x64 beta of CudaText and also zip file with tiny plugin:
https://github.com/Alexey-T/CudaText/di ... t-16758640

Does it work for you?
karhu
Posts: 2
Joined: 28.04.2026 21:57

Re: Highlight search box after enter

Post by karhu »

The plugin solution makes sense for this. Unfortunately I'm running the Linux version through AUR (1.234.0.4) and as expected trying to install the plugin gives me warning saying I need a newer version. As someone who's new to Linux I feel most comfortable going through package manager so I'm unable at this time to install a beta version. Thank you for figuring out a solution, once the current beta releases I'll be sure to look up this plugin!
main Alexey
Posts: 3067
Joined: 25.08.2021 18:15

Re: Highlight search box after enter

Post by main Alexey »

Note for future: I changed the plugin, deleted old github post.

here is new plugin 'Finder-Select-All' for cudatext 1.234.1 or newer.
On running Find-dialog FindFirst/FindNext/FindPrevious/Replace, plugin selects all text of the "find what" field, like in Notepad++.
if plugin works ok, you will see the string like 'selected all Find-dialog text (plugin)' in the Console panel. if something don't work, see Console - it may show red error text. show it to me.
Attachments
cuda_finder_sel_all.zip
(818 Bytes) Downloaded 3 times
Last edited by main Alexey on 30.04.2026 17:13, edited 4 times in total.
Post Reply