• Tidak ada hasil yang ditemukan

Edit Commands

Dalam dokumen DOC Symbmath - chinesemath.drhuang.com (Halaman 83-86)

19. SymbMath Environment: Windows

19.9. Editor and Edit Help Menu

19.9.2. Edit Commands

Zoom window

The window is zoomed out to the screen-size. Press Zoom window again to return to original size.

Previous line

When the editor prompts for a string (as in Search), pressing Previous line causes the most recently entered string to be shown.

File mask

Press this command when the filename browser in the file-name input box is active. You can then enter the file-mask (e.g. *.sm).

Terminate input

The key to use to terminate user input.

modes: Insert and Overwrite. In Insert mode, anything you type is inserted at the cursor position. In Overwrite mode, pressing a key replaces the current character at the cursor position with the new typed character. Initially, the editor operates in Insert mode, to switch modes, press the <Insert> key or <Ctrl>V. (<Ctrl>V means to hold down the <Ctrl> key on your keyboard while you press V. The V need not be in upper case.)

Unlike a more standard word processing program, the editor does not have word-wrap. You must press <Enter> at the end of each line.

The editor has an auto indent feature that allows subsequent lines to automatically indent. If you leave several spaces at the start of a line, use

<Ctrl>OI to indent subsequent lines the same amount. The command sequence is a toggle, so you need only press <Ctrl>OI again to stop indenting.

Sometimes you may want to see more than the area covered by the current window. You can zoom the window, expanding it to the size of the entire screen, by pressing <F5>. To return the window to its usual size, press <F5> again. For other window commands, such as moving and resizing a window, see the window command table, below.

The editor uses approximately 70 commands, which can be grouped into 6 main categories:

1. cursor movement commands 2. insert and delete commands 3. search and replace commands 4. file commands

5. block commands

6. miscellaneous commands

Table 19.9.1 Editor commands.

--- Cursor Movement Commands (move cursor to):

...

Line up <Ctrl>E or Up arrow Line down <Ctrl>X or Down arrow

Character left <Ctrl>S or Left arrow <- Character right <Ctrl>D or Right arrow ->

Word left <Ctrl>A or <Ctrl> <- Word right <Ctrl>F or <Ctrl> ->

Beginning of line <Ctrl>QS or <Home>

End of line <Ctrl>QD or <End>

Page up <Ctrl>R or <Pg Up>

Page down <Ctrl>C or <Pg Dn>

Scroll up <Ctrl>W

Scroll down <Ctrl>Z

Top of screen <Ctrl>QE or <Ctrl><Home>

Bottom of screen <Ctrl>QX or <Ctrl><End>

Top of file <Ctrl>QR or <Ctrl><Pg Up>

Bottom of file <Ctrl>QC or <Ctrl><Pg Dn>

Beginning of block <Ctrl>QB End of block <Ctrl>QK

Previous point <Ctrl>QP

Goto line <Ctrl>F2

Goto position <Shiift>F2 ...

Insert & Delete Commands:

...

Insert mode on/off <Ctrl>V or <Ins>

Insert line <Ctrl>N Delete line <Ctrl>Y

Delete to end of line <Ctrl>QY

Delete left character <Ctrl>H or <Backspace>

Delete character under cursor <Ctrl>G or <Del>

Delete right word <Ctrl>T ...

Block commands:

...

Block select <Ctrl>KM Copy block to paste buffer <Ctrl>KI Move block to paste buffer <Ctrl>KY

Paste <Ctrl>U or <Ctrl><F7>

Mark block begin <Ctrl>KB Mark block end <Ctrl>KK Mark word <Ctrl>KT WordStar show/hide block <Ctrl>KH

WordStar copy block <Ctrl>KC or <Ctrl><F5>

Repeat the last copy <Shift><F5>

WordStar move block <Ctrl>KV or <Alt><F6>

MultiMate copy block <Ctrl><F5>

MultiMate move block <Alt><F6>

MultiMate delete block <Alt><F7>

Delete block <Ctrl>KY

Read block <Ctrl>KR or <F7>

...

Special Block functions

...

Copy block to printer <Ctrl>KP or <Alt><F8>

Copy block to file <Ctrl>KW or <Alt><F5>

Copy block from file <Ctrl>KR or <F7>

Change case for block <Ctrl>KE or <Ctrl><F6>

...

Miscellaneous Commands:

...

Quit edit <Esc>, <F10>, <Ctrl>KD, or <Ctrl>KQ Call the auxiliary editor <F8>

Tab <Ctrl>I or <Tab>

Tab mode toggle <Ctrl>OT Auto indent on/off <Ctrl>OI Restore line <Ctrl>QL

Find <Ctrl>QF or <Ctrl><F3>

Repeat last find <Ctrl>L or <Shift><F3>

Find & replace <Ctrl>QA or <Ctrl><F4>

Repeat last find & replace <Ctrl>L or <Shift><F4>

Control key prefix <Ctrl>P Abort operation <Ctrl>U Restore error message <Ctrl>QW ...

Global Commands

...

Resize window <Shift><F10>

Zoom window <F5>

Previous line <F8>

File mask <F4>

Terminate input <F10>

---

Table 19.9.2 Edit window commands ---

Action Keystrokes

help <F1>

zoom in window <F5>

zoom out window <F5>

resize window <Shift><F10>, the arrow keys, <F10>

move window <Shift><F10>, <Shift> and the arrow key in numeric keypad without Caps Lock

open an Aux Edit window <F8>

close the Aux Edit window with saving <F10>

close the Aux Edit window without saving <Esc>

copy block from an Aux Edit window <F7>

---

Dalam dokumen DOC Symbmath - chinesemath.drhuang.com (Halaman 83-86)

Dokumen terkait