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 1010 file/convertible
1111 simple-tree-text-markup/text)
1212
13- (import mred^)
13+ (import mred^
14+ (only framework:editor^ get-standard-style-list))
1415 (export (rename framework:number-snip/int^
1516 [-snip-class% snip-class%]))
1617 (init-depend mred^)
599600 [(w3 h3 d3 a3) (get-text-extent/f dc clickable-portion font)])
600601 (and (<= (+ w1 w2) sx (+ w1 w2 w3))
601602 (<= 0 sy h3))))))
602-
603+
603604 (super-new )
604- (inherit set-snipclass set-flags get-flags)
605+ (inherit set-snipclass set-flags get-flags set-style )
605606 (set-flags (cons 'handles-events (get-flags)))
606607 (set-snipclass number-snipclass)
608+ (set-style (send (get-standard-style-list) find-named-style "Standard " ))
607609 (iterate 1 ))) ;; calc first digits
608610
609611(define remove-decimal-looking-number-snips-on-insertion-mixin
You can’t perform that action at this time.
0 commit comments