Minor doc fixes, add ability to send EOF in UI listener

slava 2006-07-20 04:45:56 +00:00
parent df67fe464e
commit 528bdadc27
3 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ $terpri
"Hashtables form a class of objects."
{ $subsection hashcode }
{ $subsection hashtable? }
"You can create a new hashtable with an initial capacity."
{ $subsection <hashtable> }
"If you don't care about initial capacity, a more elegant way to create a new hashtable is to write:"
{ $code "H{ } clone" }

View File

@ -224,6 +224,7 @@ ARTICLE: "sbufs" "String buffers"
$terpri
"String buffer words are found in the " { $vocab-link "strings" } " vocabulary."
{ $subsection sbuf? }
"Words for creating string buffers:"
{ $subsection >sbuf }
{ $subsection <sbuf> }
"If you don't care about initial capacity, a more elegant way to create a new string buffer is to write:"
@ -232,6 +233,7 @@ $terpri
ARTICLE: "vectors" "Vectors"
"A vector is a resizable mutable sequence of objects. Vector words are found in the " { $vocab-link "vectors" } " vocabulary."
{ $subsection vector? }
"Words for creating vectors:"
{ $subsection >vector }
{ $subsection <vector> }
"If you don't care about initial capacity, a more elegant way to create a new vector is to write:"

View File

@ -39,6 +39,7 @@ SYMBOL: structured-input
interactor H{
{ T{ key-down f f "RETURN" } [ interactor-commit ] }
{ T{ key-down f { C+ } "l" } [ interactor-output pane-clear ] }
{ T{ key-down f { C+ } "d" } [ f swap interactor-eval ] }
} set-gestures
M: interactor stream-readln ( pane -- line )