File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
gui-lib/framework/private Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
file/convertible
11
11
simple-tree-text-markup/text)
12
12
13
- (import mred^)
13
+ (import mred^
14
+ (only framework:editor^ get-standard-style-list))
14
15
(export (rename framework:number-snip/int^
15
16
[-snip-class% snip-class%]))
16
17
(init-depend mred^)
599
600
[(w3 h3 d3 a3) (get-text-extent/f dc clickable-portion font)])
600
601
(and (<= (+ w1 w2) sx (+ w1 w2 w3))
601
602
(<= 0 sy h3))))))
602
-
603
+
603
604
(super-new )
604
- (inherit set-snipclass set-flags get-flags)
605
+ (inherit set-snipclass set-flags get-flags set-style )
605
606
(set-flags (cons 'handles-events (get-flags)))
606
607
(set-snipclass number-snipclass)
608
+ (set-style (send (get-standard-style-list) find-named-style "Standard " ))
607
609
(iterate 1 ))) ;; calc first digits
608
610
609
611
(define remove-decimal-looking-number-snips-on-insertion-mixin
You can’t perform that action at this time.
0 commit comments