Page 1 of 1
replace option can not remember 'search in selection'
Posted: 25.12.2019 12:13
by hycmos
Sir,
1) 'Ctrl+R'
2) click the option button 'search in selection'
3) side-bar close this 'search'
4) 'Ctrl+R'
the option 'search in selection' reset.
Posted: 25.12.2019 21:16
by Alexey
It is on purpose, ie when Find/Repl dialog shows, this flag is get from editor state - if it has selection or not.
Posted: 26.12.2019 05:44
by hycmos
OK,
I see.
Posted: 26.12.2019 10:06
by hycmos
I try to replace something.
But the option 'search in selection', whether selecting some text or not, is always reset.
the below is the captured operation, I am right?

- search in selection
Posted: 26.12.2019 11:13
by Alexey
We have 3 options find_suggest_*, one is for checking "in selection". If you think that bug is here, post steps.
Posted: 28.12.2019 03:26
by hycmos
yes,
I modify the the '"ui_one_instance" : true'.
Posted: 28.12.2019 10:10
by Alexey
I don't understand what is wrong. When you check "in selection" it resets on Find because editor don't have selection, it resets later becase find_suggeset_in_selection is off.