set undo buffer size, and mask ctl-z for when the undo operation is unavailable
svn: r1610
This commit is contained in:
parent
c60213c37e
commit
3668b2cabd
|
@ -563,7 +563,10 @@ module browser threading seems wrong.
|
|||
|
||||
(field [error-arrows #f])
|
||||
|
||||
(super-new))))
|
||||
(super-new)
|
||||
|
||||
(inherit set-max-undo-history)
|
||||
(set-max-undo-history 5000))))
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -989,6 +989,11 @@
|
|||
(map-meta "c:g" "ring-bell")
|
||||
(map "c:x;c:g" "ring-bell")
|
||||
(map "c:c;c:g" "ring-bell")
|
||||
|
||||
;; This mapping is here to avoid having ctl-z insert "z"
|
||||
;; when the "Undo" menu item is disabled, because inserting
|
||||
;; "z" empties the redo stack
|
||||
(map "c:z" "ring-bell")
|
||||
|
||||
(map-meta "(" "insert-()-pair")
|
||||
(map-meta "[" "insert-[]-pair")
|
||||
|
|
Loading…
Reference in New Issue
Block a user