Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.39k stars 166 forks source link

regex error popup window from selection #5477

Closed bokunodev closed 2 months ago

bokunodev commented 2 months ago

pressing ctrl+r on a selction while regex option in the find panel is active, cause regex error popup window to appear and the cursor didn't focus on the find panel input field, instead it return the focus to the editor. it force you to use the mouse and click on the find panel input field to edit the pattern.

https://github.com/Alexey-T/CudaText/assets/54968427/a0be99c8-7e66-4552-bf3c-43e3432e37fd

Alexey-T commented 2 months ago

made the fix; now calling of Find dlg with selection in editor (and option "find_suggest_sel") - turns RegEx option off.