Java example boxes: omit cue text from save-and-loaded or cut-and-paste boxes
svn: r1850 original commit: f81cf986b52576551aa934feff8eb584dc908857
This commit is contained in:
parent
9f0d6ddf3f
commit
d47712f2f5
|
@ -324,6 +324,10 @@ _cue-text%_ is (cue-text-mixin text%)
|
|||
color : string = "gray"
|
||||
behavior : (listof (symbols 'on-focus 'on-char)) = '(on-focus)
|
||||
|
||||
> (send a-cue-text clear-cue-text)
|
||||
|
||||
Clears the cue text, if it's still present.
|
||||
|
||||
============================================================
|
||||
|
||||
The following functions are useful for working with snips
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#;(-> void)
|
||||
;; Clears the cue-text if it's still there.
|
||||
(define (clear-cue-text)
|
||||
(define/public (clear-cue-text)
|
||||
(when first-focus?
|
||||
(set! first-focus? false)
|
||||
(erase)
|
||||
|
|
Loading…
Reference in New Issue
Block a user