Merge branch 'master' of git://factorcode.org/git/factor
commit
841c8dddb5
|
@ -73,9 +73,15 @@ SYMBOL: error-hook
|
|||
] tabular-output
|
||||
] unless-empty ;
|
||||
|
||||
SYMBOL: display-stacks?
|
||||
|
||||
t display-stacks? set-global
|
||||
|
||||
: stacks. ( -- )
|
||||
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
|
||||
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty ;
|
||||
display-stacks? get [
|
||||
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
|
||||
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty
|
||||
] when ;
|
||||
|
||||
: prompt. ( -- )
|
||||
"( " in get auto-use? get [ " - auto" append ] when " )" 3append
|
||||
|
|
|
@ -71,6 +71,7 @@ M: button-paint draw-boundary
|
|||
|
||||
: roll-button-theme ( button -- button )
|
||||
f black <solid> dup f <button-paint> >>boundary
|
||||
f f pressed-gradient f <button-paint> >>interior
|
||||
align-left ; inline
|
||||
|
||||
: <roll-button> ( label quot -- button )
|
||||
|
|
Loading…
Reference in New Issue