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

Double-click selection is wonky #25

Open
snej opened this issue Nov 1, 2012 · 0 comments
Open

Double-click selection is wonky #25

snej opened this issue Nov 1, 2012 · 0 comments

Comments

@snej
Copy link

snej commented Nov 1, 2012

Selection behavior of double-clicking in Go code is weird and annoying in some contexts:

  • Anywhere in a function parameter list, it selects the entire parameter list (to just inside the parens.)
  • In an initializing assignment, like foo := bar(), double-clicking foo also selects the space after it.
  • In a top-level variable declaration, like var foo = 0, double-clicking foo also selects the space before it.

This must be due to some subtlety of the language-grammar file, but I don't know nearly enough about those to be able to diagnose the problem.

@dhowden dhowden mentioned this issue Apr 9, 2013
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