+18
Dan Rogers 6 years ago • updated 5 years ago 2
I've been noticing an issue with alt-arrow movement and also with double-click drag selection.

Even though the quote character and the whitespace character are both defined in the "word_separators" preference, these characters are not used during selection (or movement) to separate words properly.

Below you will see an animated gif which illustrates a word selection passing over the quote marks and selecting too much text:


I think in the ideal solution, spaces and quotes should be treated as their own words during this selection mode. This is how native cocoa textfields (eg- TextEdit) work on OSX, and in general it feels more intuitive to be safe during word selection rather than overzealous. After all, it is easier to keep selecting over these characters instead of having to go back and manually adjust the selection after a big jump.
+3
Here's an updated image for the last frame of the gif, showing where words should ideally split:


As of 2213 nightly, this is fixed for mouse drag selection. Yesssss!! Thanks Jon.