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

Cursor moves when line is selcted by clicking line number #816

Open
philiprbrenan opened this issue Dec 14, 2015 · 2 comments
Open

Cursor moves when line is selcted by clicking line number #816

philiprbrenan opened this issue Dec 14, 2015 · 2 comments

Comments

@philiprbrenan
Copy link

When the line number is clicked to select the whole line, the cursor advances
to the start of the next line beyond the selected line even if the cursor is
originally nowhere near the selected line. Please consider allowing the cursor
to stay where it is as the user might not want to move the cursor but rather
keep it where it is. Thanks!
click1
click2

@elextr
Copy link
Member

elextr commented Dec 14, 2015

The selection is maintained by Scintilla. Its definition of the selection is that it ends at the cursor. You can request Scintilla changes that, but it is unlikely to happen because it will break all Scintilla based editors.

Geany cannot change the behaviour until it is changed in Scintilla.

@codebrainz
Copy link
Member

Out of curiosity, why are you clicking on the line numbers (which causes a text selection) if you do not want the selection? Or is the Issue just that cursor is after the end-of-line \n instead of before it?

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

3 participants