best guess on what keystrokes will trigger insert-()-pair under windows & unix.

original commit: 215c8dc96070890e81193393b2e78265bd1691a6
This commit is contained in:
John Clements 2010-08-13 10:54:30 -04:00
parent 916cdf4dc1
commit 7643ce1197

View File

@ -192,13 +192,17 @@
(make-buff-spec "bc" 0 0)
(list '((#\c control) (#\o control))))
;; insert-()-pair :
(make-key-spec/allplatforms
(make-key-spec
(make-buff-spec "abc" 0 0)
(make-buff-spec "()abc" 1 1)
(list '((escape) (#\()))
(list '((#\( meta)))
(list '((escape) (#\())))
(make-key-spec/allplatforms
(make-key-spec
(make-buff-spec "abc" 0 2)
(make-buff-spec "(ab)c" 1 1)
(list '((escape) (#\()))
(list '((#\( meta)))
(list '((escape) (#\())))
;; toggle-square-round-parens :
; () -> []