-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
Sublime Text 3 build 3109
Windows 7 x64
Fresh install, no plugins
With the find and replace panel open, double clicking in the find or replace input boxes don't always set the focus correctly, so even though it selects the word, when you type, it will type in the wrong box.
Reproduction steps: (can be done on a blank document)
- Open the find and replace panel (
Find
menu ->Replace...
) - In
Find What
, typehello
- Press tab
- In
Replace With
, typeworld
- Double click in
Find What
to select the wordhello
- Double click in
Replace With
to select the wordworld
- Type
foobar
- Double click in
Find What
to select the wordhello
(yes, even though it is already selected) - Type
here
- notice thathere
appears in the wrong input box
You can repeat it in the other input box too:
- Open the find and replace panel (
Find
menu ->Replace...
) - In
Find What
, typehello
- Press tab
- In
Replace With
, typeworld
- Double click in
Replace With
to select the wordworld
- Double click in
Find What
to select the wordhello
- Type
foobar
- Double click in
Replace With
to select the wordworld
(yes, even though it is already selected) - Type
here
- notice thathere
appears in the wrong input box
Expected behavior:
- When double clicking in an input box:
- that box should get the focus (* this is not happening)
- the word under the cursor should be selected
- the input box should keep the focus
Also tested on Linux on 3103, and when moving between input boxes, the previous input box loses the selection, so this bug doesn't exist on Linux.