Steps to reproduce in Sublime Text 3 build 3124 (and the previous build) on Mac OSX:
- Open a text file.
- Layout: Single.
- Hide the Side Bar et al. (The MiniMap may be visible.)
- Select a word, hit Cmd-E to set the search term, hit Cmd-G to search for it. (This is just one way to get Sublime Text into the state that reproduces the bug, but it doesn’t do so 100% of the time.)
- Resize the window by dragging the window’s left edge with the mouse.
Result:
- Sublime Text selects the line where the mouse happens to be dragging the window border.
- Sublime Text stays in extend-selection mode even after you release the mouse button, so it continues changing the selection.
- It tends to stay in extend-selection mode even after you Cmd-Tab to another app and Cmd-Tab back.
Expected behavior:
- Resizing the window should not change the text selection.