Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click actions ignore click position #3683

Open
elextr opened this issue Nov 13, 2023 · 0 comments
Open

Right click actions ignore click position #3683

elextr opened this issue Nov 13, 2023 · 0 comments

Comments

@elextr
Copy link
Member

elextr commented Nov 13, 2023

Geany 1.38, 2.0

In the editor right click menu, the editing functions (move line, comment line etc) act on the line with the caret on it, not the line clicked on. But the inserts (date, comment etc) act where the click happens.

This inconsistency is a footgun waiting to shoot, thankfully undo is available.

I can see why it happens, the things that are caret related are copies of normal menu items, which have no click position, only the caret. Maybe its as simple as right click moving the caret to the click position before calling the normal menu item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant