expand-selection icon indicating copy to clipboard operation
expand-selection copied to clipboard

Expansion is too greedy

Open dwelle opened this issue 11 years ago • 1 comments

Refer to the gif below:

expand-selection_01

  • On line 3, I think it should first select the whole class (possible without the ., first) before selecting the brace, as well.
  • Line 5 should behave similarly, not selecting whole block right from the start.
  • On line 10, the contents of the string should be selected first, then outer string, then brackets. I noticed the incorrect behavior only if the string is a non-word string, though, so it might not be such an issue.

dwelle avatar Dec 11 '14 12:12 dwelle

I'll try to address this behavior in the next release. Thanks for reporting.

mrolla avatar Dec 14 '14 09:12 mrolla