diff --git a/doc/handbook/hashtables.facts b/doc/handbook/hashtables.facts index e3e03bec92..38317f8cdc 100644 --- a/doc/handbook/hashtables.facts +++ b/doc/handbook/hashtables.facts @@ -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 } "If you don't care about initial capacity, a more elegant way to create a new hashtable is to write:" { $code "H{ } clone" } diff --git a/doc/handbook/sequences.facts b/doc/handbook/sequences.facts index 215d38a328..db4cbebc37 100644 --- a/doc/handbook/sequences.facts +++ b/doc/handbook/sequences.facts @@ -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 } "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 } "If you don't care about initial capacity, a more elegant way to create a new vector is to write:" diff --git a/library/ui/text/interactor.factor b/library/ui/text/interactor.factor index 8c3ab77e5b..285fee4965 100644 --- a/library/ui/text/interactor.factor +++ b/library/ui/text/interactor.factor @@ -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 )