replace option can not remember 'search in selection'

Solved bugs are moved into this topic...
Post Reply
hycmos
Posts: 86
Joined: 06.11.2019 02:17

replace option can not remember 'search in selection'

Post 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.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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.
hycmos
Posts: 86
Joined: 06.11.2019 02:17

Post by hycmos »

OK,
I see.
hycmos
Posts: 86
Joined: 06.11.2019 02:17

Post 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
search in selection
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

We have 3 options find_suggest_*, one is for checking "in selection". If you think that bug is here, post steps.
hycmos
Posts: 86
Joined: 06.11.2019 02:17

Post by hycmos »

yes,
I modify the the '"ui_one_instance" : true'.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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.
Post Reply