when moving the focus to the replace window, also select the text
closes PR 12855 original commit: 8f892a2d3af2216311afa055bc312cd61efc5f71
This commit is contained in:
parent
fc5b2ac209
commit
d0ee91fc1d
|
@ -2173,11 +2173,12 @@
|
|||
[hidden?
|
||||
(unhide-search #f)
|
||||
(set-replace-visible? #t)
|
||||
(send replace-edit set-position 0 (send find-edit last-position))
|
||||
(send replace-edit set-position 0 (send replace-edit last-position))
|
||||
(send (send replace-edit get-canvas) focus)]
|
||||
[else
|
||||
(set-replace-visible? (not replace-visible?))
|
||||
(when replace-visible?
|
||||
(send replace-edit set-position 0 (send replace-edit last-position))
|
||||
(send (send replace-edit get-canvas) focus))])
|
||||
#t)
|
||||
(define/override (edit-menu:show/hide-replace-string)
|
||||
|
|
Loading…
Reference in New Issue
Block a user