Mention multiline editor commands in editor docs

db4
Slava Pestov 2009-01-08 18:56:20 -06:00
parent 35ebc60a4b
commit 632b21159d
2 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ ARTICLE: "gadgets-editors" "Editor gadgets"
{ $command-map editor "general" }
{ $command-map editor "caret-motion" }
{ $command-map editor "selection" }
{ $command-map multiline-editor "multiline" }
{ $heading "Editor words" }
{ $subsection editor }
{ $subsection <editor> }

View File

@ -526,7 +526,7 @@ TUPLE: multiline-editor < editor ;
: <multiline-editor> ( -- editor )
multiline-editor new-editor ;
multiline-editor "general" f {
multiline-editor "multiline" f {
{ T{ key-down f f "UP" } previous-line }
{ T{ key-down f f "DOWN" } next-line }
{ T{ key-down f { S+ } "UP" } select-previous-line }