Page 3 of 3
Re: Possible Hotkey issue
Posted: 30.08.2024 18:34
by sl23
Hi Alexey, I just replaced the file into my portable set up. Then attempted to redo the test as I performed above.
F4 no longer works at all.
Though I am unsure what the command palette is for or how to use it. Do I need to change anything in that? Also, where do I get that new json file?
Thanks for your help.
Re: Possible Hotkey issue
Posted: 30.08.2024 19:16
by main Alexey
- call Cmd Palette from menuitem "Help / Command Palette"
- there, find item 'find next and replace' and press F9 there in Cmd Palette
BTW, read this --
https://wiki.freepascal.org/CudaText#Configuration
and this
https://wiki.freepascal.org/CudaText#Command_Palette
- there assign F4 to item 'find next and replace'
- restart
F4 must work now?
Re: Possible Hotkey issue
Posted: 30.08.2024 19:24
by main Alexey
>Also, where do I get that new json file?
https://github.com/Alexey-T/CudaText/bl ... fault.json
download as python (check it's not HTML)
Re: Possible Hotkey issue
Posted: 30.08.2024 19:42
by sl23
Oh that's excellent, thank you!
My first attempt to get it working after downloading the json and beta exe:
The find works as normal, it highlights the next word and doesn't matter where the focus is.
Replace, at first would delete the found word, restarted CT, still didn't replace but deleted. Third attempt after a second restart of CT and it works. Only thing is that unlike before the beta, the replace doesn't highlight the word, is this something that could be fixed/added?
Re: Possible Hotkey issue
Posted: 30.08.2024 20:54
by main Alexey
- 'still didn't replace but deleted' - maybe you didnot fill the 'replace with' input? so it used empty text and deleted?
- 'the replace doesn't highlight the word, is this something that could be fixed/added?' - ok, will try to add it, good note.
Re: Possible Hotkey issue
Posted: 30.08.2024 21:09
by main Alexey
Re: Possible Hotkey issue
Posted: 30.08.2024 21:20
by sl23
main Alexey wrote: ↑30.08.2024 20:54
- 'still didn't replace but deleted' - maybe you didnot fill the 'replace with' input? so it used empty text and deleted?
- 'the replace doesn't highlight the word, is this something that could be fixed/added?' - ok, will try to add it, good note.
I did fill both fields. Which was why I was puzzled as to the reason it just deleted the found text.
Re: Possible Hotkey issue
Posted: 30.08.2024 21:22
by sl23
That seems to have resolved it!
Thank you for that fix, you're superb!
Re: Possible Hotkey issue
Posted: 30.08.2024 21:23
by sl23
I have an unrelated minor undo bug, should I create another topic?