cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

`"inside"` broken in particular configuration of quotes

Open pokey opened this issue 3 months ago • 1 comments

I seem to have found a corner case of "inside" that we don't handle properly:

aaa's `bbb 'ccc'`
`ddd`

If you say "change inside drum", you get an error. This was the most I could minimize this test case, so it seems like some strange corner case

pokey avatar Nov 21 '25 16:11 pokey

This is not a problem with inside specifically. In the example above ddd is not considered a surrounding pair. If you visualize the surrounding pairs the problem becomes obvious.

AndreasArvidsson avatar Nov 22 '25 07:11 AndreasArvidsson