I will post a link to my installation, you can see that it does work this way and you may even find out how it works.
EDIT: Here is the link
Right-click moves caret (before showing context menu)
I've just tried this function in Notepad++, it works as expected. R-click moves caret, but selecting a part of the text seems to stop the caret moving but allows the R-click context menu to appear.
Maybe that's how it's done. R-click moves caret except when a selection is made, then it temporarily disables this, allowing you to make a selection and then copy the selection to the clipboard using the mouse.
Maybe that's how it's done. R-click moves caret except when a selection is made, then it temporarily disables this, allowing you to make a selection and then copy the selection to the clipboard using the mouse.
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2257
- Joined: 25.08.2021 18:15
-
- Posts: 2257
- Joined: 25.08.2021 18:15
No, not quite. In N++, R-click moves the caret as normal. But when a selection is made, moving the caret is cancelled on R-click and so the selection remains and then the context menu is shown.
It's as though the act of selecting text disables moving the caret allowing you to keep the selection and perform actions on that selection via the context menu.
It's as though the act of selecting text disables moving the caret allowing you to keep the selection and perform actions on that selection via the context menu.
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2257
- Joined: 25.08.2021 18:15
+ add: improve option "mouse_rt_click_moves_caret", so that right-click over selection never resets that selection
Try it in beta, pls
http://uvviewsoft.com/c/
Try it in beta, pls
http://uvviewsoft.com/c/