Remove OC toolbar when the definitions change.

This commit is contained in:
Vincent St-Amour 2012-08-13 16:41:23 -04:00
parent 958ab7b570
commit 11006d3b5e

View File

@ -145,10 +145,13 @@
(set! highlights '())
(set! on? #f))
(define (clear-and-close)
(when on?
(send+ this (get-tab) (get-frame) (close-optimization-coach))))
(define/augment (on-insert start len)
(clear-highlights))
(clear-and-close))
(define/augment (on-delete start len)
(clear-highlights))
(clear-and-close))
(define/public (build-optimization-coach-popup-menu menu pos text)
(and pos