Partilhar via


Small Basic TextWindow and Keyboard Shortcuts

There are many keyboard shortcuts for TextWindow.Read() operation.  Most of these shortcut keys are the same with the command prompt.  Today's code is as follows.

 While "True"
  TextWindow.Read()
EndWhile

Standard shortcuts

Following keys are standard shortcuts (without Ctrl key shortcuts option).

Key Function
Enter Input line
Alt+Enter Toggle full-screen mode
Ctrl+C End program
Ctrl+H Back Space
Ctrl+I Tab
Ctrl+M Enter
Back Space Delete previous character
Delete Delete next character
Insert Toggle insert mode
Home Move cursor to beginning of line
End Move cursor to end of line
Ctrl+Right Arrow Move cursor to previous word
Ctrl+Left Arrow Move cursor to next word
Right Arrow Type a character in previous line
Up Arrow Previous line
Down Arrow Next line
Page Up First line
Page Down Last line
F2 Type previous line up to a character
F3 Type previous line to the end
F4 Delete characters forward up to a character
F5 Previous line (same as Up Arrow)
F7 List line buffer
F8 Search line buffer by a string
F9 Input line by its index

Ctrl key shortcuts

In this section, it assumed that Enable Ctrl key shortcuts is enabled in Edit Options for "Command Prompt" Properties.

Key Function
Ctrl+M Mark
Enter Copy
Ctrl+C Copy (same as Enter)
Ctrl+Insert Copy (same as Enter)
Ctrl+V Paste
Shift+Insert Copy (same as Ctrl+V)
Ctrl+A Select all
Ctrl+F Find
Ctrl+Shift+Plus Decrease window transparency
Ctrl+Shift+Minus Increase window transparency
Shift+Left Arrow Select one more left character
Shift+Right Arrow Select one more right character
Shift+Up Arrow Select to the upper character
Shift+Down Arrow Select to the lower character
Shift+Home Move cursor to beginning with selecting
Shift+End Move cursor to end with selecting
Shift+Up Move cursor to top line with selecting
Shift+Down Move cursor to bottom line with selecting
Ctrl+Shift+Home Move cursor to beginning in top line with selecting
Ctrl+Shift+End Move cursor to end in last line with selecting
Ctrl+Home Delete to beginning
Ctrl+End Delete to end

See Also