AMOS:Call Editor commands
Revision as of 03:33, 18 June 2008 by Spellcoder (talk | contribs) (about 2/3th of the list completed)
code | equate | result | return values |
---|---|---|---|
1 | AEd_Up | Moves the cursor up one line | - |
2 | AEd_Down | Moves the cursor down one line. | - |
3 | AEd_Left | Moves the cursor left one character. | - |
4 | AEd_Right | Moves the cursor right one character. | - |
5 | AEd_TopPage | Moves the cursor to the top of the current window. | - |
6 | AEd_BottomPage | Move the cursor to the bottom of the current window. | - |
7 | AEd_WordLeft | Move the cursor to the beginning of the previous word. | - |
8 | AEd_WordRight | Move the cursor to the beginning of the next word. | - |
9 | AEd_PageUp | Move the cursor up one page in the text. | - |
10 | AEd_PageDown | Move the cursor down one page in the text. | - |
11 | AEd_StartLine | Move the cursor to the start of the current line. | - |
12 | AEd_EndLine | Move the cursor to the end of the current line. | - |
13 | AEd_WindowUp | Moves the current window up. | - |
14 | AEd_WindowDown | Moves the current window down. | - |
15 | AEd_WindowSmaller | Reduce the size of the current window. | - |
16 | AEd_WindowBigger | Increase the size of the current window. | - |
17 | AEd_TopOfText | Move the cursor to the top of the text. | - |
18 | AEd_BottomOfText | Move the cursor to the end of the text. | - |
19 | AEd_Return | Performs a <RETURN> | - |
20 | AEd_BackSpace | Performs a <BACKSPACE>: delete one character to the left of the cursor. | - |
21 | AEd_Delete | Performs a <DELETE>: delete one character to the right of the cursor. | - |
22 | AEd_ClrLine | Clears the entire current line. | - |
23 | AEd_DelLine | Delete the current line, and scroll up the rest of the text <CONTROL-Y> | - |
24 | AEd_Tab | Insert one tab <TAB> | - |
25 | AEd_SetTab | Set the current tab value. | PAR= new tab value. |
29 | AEd_InsertLine | Insert one empty line at the current cursor position <F10> | - |
30 | AEd_DelToEndOfLine | Delete to the end of the current line <CONTROL-DEL> | - |
31 | AEd_PreviousLabel | Go to previous label. | - |
32 | AEd_NextLabel | Go to next label. | - |
33 | AEd_Load | Load a new program in the current window. | PAR$= filename of the program to load. PAR= answer to the requester "Program not saved, save it?" 0= CANCEL / 1=YES / 2=NO |
34 | AEd_SaveAs | Save the current program with a new name. | PAR$= new filename. |
35 | AEd_Save | Save the current program. | PAR$= optional name if program is not named. |
36 | AEd_DelWordRight | Delete the word to the right of the cursor. | - |
37 | AEd_DelWordLeft | Delete the word to the left of the cursor. | - |
38 | AEd_Hide | Hide the current program. | - |
39 | AEd_SetSystemMark1 | Set system mark number 1 | - |
40 | AEd_SetSystemMark2 | Set system mark number 2. | - |
41 | AEd_SetSystemMark3 | Set system mark number 3. | - |
42 | AEd_SetMark1 | Set mark number 1. | - |
43 | AEd_SetMark2 | Set mark number 2. | - |
44 | AEd_SetMark3 | Set mark number 3. | - |
45 | AEd_SetMark4 | Set mark number 4. | - |
46 | AEd_SetMark5 | Set mark number 5. | - |
47 | AEd_SetMark6 | Set mark number 6. | - |
49 | AEd_GotoSystemMark1 | Move the cursor to the system mark number 1. | - |
50 | AEd_GotoSystemMark2 | Move the cursor to the system mark number 2. | - |
51 | AEd_GotoSystemMark3 | Move the cursor to the system mark number 3. | - |
52 | AEd_GotoMark1 | Move the cursor to the mark number 1. | - |
53 | AEd_GotoMark2 | Move the cursor to the mark number 2. | - |
54 | AEd_GotoMark3 | Move the cursor to the mark number 3. | - |
55 | AEd_GotoMark4 | Move the cursor to the mark number 4. | - |
56 | AEd_GotoMark5 | Move the cursor to the mark number 5. | - |
57 | AEd_GotoMark6 | Move the cursor to the mark number 6. | - |
59 | AEd_BlocOnOff | Toggle the block mode on/off. | - |
60 | AEd_Forget | Forget the currently stored block. | - |
61 | AEd_OpenLoad | Opens a new window, and loads the specified program into it. | PAR$= file name to load PAR= answer to "Buffer to small" requester. 0=NO / 1=YES |
62 | AEd_BlocCut | Cut the currently highlighted block. | - |
63 | AEd_BlocPaste | Paste the currently stored block. | - |
64 | AEd_DelToStartOfLine | Delete to the start of the current line. | - |
65 | AEd_Undo | Performs one step of UNDO. | - |