Page 1 of 2
Right-click moves caret (before showing context menu)
Posted: 23.10.2021 14:43
by sl23
I've just given up on SynWrite, very reluctantly seeing as it is just about perfect for my needs but is having problems with undo operations, and am giving CudaText a good run to see if it's as good.
So far so good
One issue I am having is to do with Right click moving cursor. It works fine, except it deselects any text you highlight, making it impossible to select some text, copy then paste it.
Any chance of a fix please?
Posted: 23.10.2021 18:23
by main Alexey
Hi. Pls try the option "mouse_rt_click_moves_caret":false, it is working ok here.
Posted: 23.10.2021 22:36
by sl23
Thank you. But setting this to False is the default state, which I don't want.
The point is that I want to use this feature as I'm used to using it in SynWrite.
It seems like a bug, as why would you have this feature but not allow to right click and copy a selection?
Can you please fix this

Posted: 23.10.2021 22:58
by main Alexey
I don't understand you - "mouse_rt_click_moves_caret":true (you have it) means that editor moves caret on right-click, so it moves the caret and old selection is reset. do you suggest that Cud moves the caret and DONT reset the selection? it's impossible.
Posted: 23.10.2021 23:24
by sl23
That's exactly what I wanted, which is exactly how it is done in SynWrite, so not impossible.

Posted: 24.10.2021 12:13
by main Alexey
Moving the caret and not resetting the selection? selection in Cud is just additional 2 numbers (endx, endy) for the caret (first one or not).
I don't recall how it was made in Synwrite, was not my code.
Posted: 24.10.2021 15:38
by sl23
By that's a shame. Maybe one day you can figure it out

Posted: 24.10.2021 15:39
by main Alexey
I now tried the Synwrite and cannot find this option in it- tell me how the option is named? where is it?
Posted: 25.10.2021 16:46
by sl23
I am actually really surprised to find out that the setting is not there!!! I'm sure I remember setting it to Right click moves caret or similar, the same as in CudaText. I really don't understand it!
Unless it was a plugin that I installed and then uninstalled that removed the option but left the functionality? Is that possible?
Check line #86...
Posted: 25.10.2021 16:50
by main Alexey
I don't know, I am also confused a little. In any way, Cud cannot place the caret _independant_ of selection,like i said.