add a test for undo-clickback repair
This commit is contained in:
parent
b0d909bd8f
commit
b0245395b7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user