I cannot refine a text selection properly. This might be a Sublime bug, or the result of some bad plugin.
The facts:
Text selection normally works like this: There is a start position and an end position. When refining a selection, the new end position is updated, while the start position is kept.
SublimeText does not work like this (AFAIK). This is either a bug or a weirdly-conceived feature.
I have made a screencast for a demonstration of how Sublime works. http://screencast.com/t/Eo936hPMxUX6
See explanation below.
Two problems:
1.) the selection can only be refined outward (increasing the size). It cannot be refined inward (reducing the size).
2.) The selection start position is not kept. When selecting ahead and then selecting behind, it keeps the “ahead” selection and makes that the new start position. It should not change the start position.
Sample steps to reproduce #2:
(given a line of text)
- Click position 20. --> cursor is moved to 20.
- (Hold shift for steps 3 - 4)
- Click position 30 --> selection is from 20 to 30.
- Click position 10 --> selection is from 30 to 10. (wrong behavior. It should start at 20 and end at 10).
Please confirm that (1) this behavior is reproducible for you too, and (2) this is not an intended feature of Sublime. If #2 is false (it’s a feature), then let’s talk about that 