avoid taking over control-[ under windows so that overriding the smart opening paren thing is still possible
This commit is contained in:
parent
32851bddf9
commit
0b54d7f010
|
@ -657,14 +657,24 @@
|
|||
(send item enable (and frame (> (length (send frame get-tabs)) 1)))))])
|
||||
(group:add-to-windows-menu
|
||||
(λ (windows-menu)
|
||||
(define sprefix (if (eq? (system-type) 'windows)
|
||||
(cons 'shift (get-default-shortcut-prefix))
|
||||
(get-default-shortcut-prefix)))
|
||||
(new menu-item%
|
||||
[parent windows-menu] [label (string-constant prev-tab)] [shortcut #\[]
|
||||
[parent windows-menu]
|
||||
[label (string-constant prev-tab)]
|
||||
[shortcut #\[]
|
||||
[shortcut-prefix sprefix]
|
||||
[demand-callback dc]
|
||||
[callback (λ (item _)
|
||||
(let ([frame (find-frame item)])
|
||||
(when frame
|
||||
(send frame prev-tab))))])
|
||||
(new menu-item% [parent windows-menu] [label (string-constant next-tab)] [shortcut #\]]
|
||||
(new menu-item%
|
||||
[parent windows-menu]
|
||||
[label (string-constant next-tab)]
|
||||
[shortcut #\]]
|
||||
[shortcut-prefix sprefix]
|
||||
[demand-callback dc]
|
||||
[callback (λ (item _)
|
||||
(let ([frame (find-frame item)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user