Right-click moves caret (before showing context menu)

Solved bugs are moved into this topic...
sl23
Posts: 161
Joined: 29.01.2013 10:04

Right-click moves caret (before showing context menu)

Post 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 :D

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?
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post by main Alexey »

Hi. Pls try the option "mouse_rt_click_moves_caret":false, it is working ok here.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Post 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 :D
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post 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.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Post by sl23 »

That's exactly what I wanted, which is exactly how it is done in SynWrite, so not impossible. ;)
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post 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.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Post by sl23 »

By that's a shame. Maybe one day you can figure it out :D
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post 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?
sl23
Posts: 161
Joined: 29.01.2013 10:04

Post 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...
Image 002.png
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post 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.
Post Reply