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

This commit is contained in:
John Clements 2010-08-13 10:54:30 -04:00
parent cfe503f1ce
commit 215c8dc960

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 :
; () -> []