- the caret won't stop on punctuation, unless the punctuation is bounded by whitespace.
- the caret will stop after a closing bracket.
These changes should be that
For example, given this text:
- Code: Select all
foo.do_stuff(bar(), baz)
3016 will stop at these locations (when moving to the right):
- Code: Select all
foo|.do_stuff|(bar|()|,| baz|)
Whereas previous versions will stop at:
- Code: Select all
foo|.|do_stuff|(bar|(),| baz|)
Note that it's now simpler to select "bar()" in the above code, and there aren't wasted stop positions around the ".". The changes also mean that in HTML, the caret will always stop between tags, which makes copying them simpler.