diff --git a/doc/Glossary.txt b/doc/Glossary.txt index e8e65d7..6159342 100644 --- a/doc/Glossary.txt +++ b/doc/Glossary.txt @@ -1674,6 +1674,30 @@ Class Handler: class:word | Namespace: global | Interface Layer: all ---------------------------------------------------------------- +editor:set-font-face + + Data: s- + Addr: - + Float: - + +Set the font to use in the editor and toolbars. If the font fails to load, RETRO will fall back to a safe default. + +Class Handler: class:word | Namespace: editor | Interface Layer: iOS + +---------------------------------------------------------------- + +editor:set-font-size + + Data: n- + Addr: - + Float: - + +Set the size of the font to use in the editor and toolbars. + +Class Handler: class:word | Namespace: editor | Interface Layer: iOS + +---------------------------------------------------------------- + eq? Data: nn-f diff --git a/words.tsv b/words.tsv index d1be764..9d2f22d 100644 --- a/words.tsv +++ b/words.tsv @@ -132,6 +132,8 @@ drop-pair nn- - - Remove top two items on the stack. class:word {n/a} {n/a} gl dump-stack - - - Display the items on the data stack. class:word {n/a} {n/a} global all dup n-nn - - Duplicate the top item on the stack. class:primitive {n/a} {n/a} global all dup-pair nm-nmnm - - Duplicate the top two items on the stack. class:word {n/a} {n/a} global all +editor:set-font-face s- - - Set the font to use in the editor and toolbars. If the font fails to load, RETRO will fall back to a safe default. class:word {n/a} {n/a} editor iOS +editor:set-font-size n- - - Set the size of the font to use in the editor and toolbars. class:word {n/a} {n/a} editor iOS eq? nn-f - - Compare two values for equality. Returns `TRUE` if they are equal or `FALSE` otherwise. class:primitive #1 #2 eq?\n $a $b eq? {n/a} global all err:notfound - - - Error handler. Called when a word is not found by `interpret`. class:word {n/a} {n/a} err all f:* - - FF-F Multiply two floating point numbers, returning the result. class:word .3.1415 .22 f:* {n/a} f rre