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

Triple click on a line of text doesn't select the entire line #325

Open
KG576 opened this issue Dec 21, 2024 · 2 comments
Open

Triple click on a line of text doesn't select the entire line #325

KG576 opened this issue Dec 21, 2024 · 2 comments

Comments

@KG576
Copy link

KG576 commented Dec 21, 2024

Is it possible to make ng select the entire line on triple mouse click?

It would be consistent with how many text editors (and even text area in browsers) operate. It makes it easier to cut/paste stuff around when reorganizing.

I'm using 0.39 now and triple click ends up like a double click followed by a single click. Which first selects the word then deselects it.

Thanks.

@aguador
Copy link
Contributor

aguador commented Dec 25, 2024

It would be particularly useful for new notes in replacing the default name/date with a discriptive name. However, I think this was raised in the past and there was some problem in implementing it.

@davidbannon
Copy link
Member

Hmm, I cannot detect a triple click. But discovered that Lazarus itself does honour a triple click and its written in exactly the same sort of code. I think they must detect a double click, set a timer and if one comes in in, say, 400mS, call it a triple. I'll have a peek through their code....

Davo

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