add a test for undo-clickback repair

This commit is contained in:
Matthew Flatt 2011-08-26 06:07:18 -06:00
parent b0d909bd8f
commit b0245395b7

View File

@ -540,6 +540,16 @@
(send t undo)
(st "" t get-text))
;; ----------------------------------------
;; undo and clickbacks
(let ([t (new text%)])
(send t set-max-undo-history 100)
(send t insert "abcdef")
(send t set-clickback 1 3 void)
(send t delete 0 5)
(send t undo))
;; ----------------------------------------
(report-errs)