macro-stepper: map "s" and "h" keys to show and hide selected identifier
original commit: 7dcd0d408c2d7e6f7034320f30280c799fa25416
This commit is contained in:
parent
dedcef50a2
commit
b50316679a
|
@ -19,6 +19,7 @@
|
|||
(inherit-field config
|
||||
controller)
|
||||
(inherit add-function
|
||||
map-function
|
||||
call-function)
|
||||
|
||||
(define show-macro #f)
|
||||
|
@ -29,6 +30,9 @@
|
|||
(define/public (get-hiding-panel)
|
||||
(send/i macro-stepper widget<%> get-macro-hiding-prefs))
|
||||
|
||||
(map-function ":s" "hiding:show-macro")
|
||||
(map-function ":h" "hiding:hide-macro")
|
||||
|
||||
(add-function "hiding:show-macro"
|
||||
(lambda (i e)
|
||||
(send*/i (get-hiding-panel) hiding-prefs<%>
|
||||
|
|
Loading…
Reference in New Issue
Block a user