[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.8.9 Starting the Editor

2F19A ViewLevel1 ( ob → ob' )
Edits the object in level 1.
2F2DA AlgCharEdit
2F1AF AlgObEdit ( ob → ob' )
Used instead of ViewLevel1 if in Algebraic mode. Does not execute STARTED and EXITED.
2F1AD CharEdit
2B2F2 (DoLevel1:) ( ob → ob' )
Evaluates the next object in the runstream, which usually in an editing command like <REF>ObEdit. When the evaluation returns FALSE, the original object which was saved in a temporary variable is restored to the stack. When the evaluation returns TRUE, the TRUE is removed from the stack.
257BE ClrNewEditL
2F1A8 EditFont
2EEE5 EditLevel1 ( ob → ob' )
2F1AE ObEdit ( ob → ob' T )
( ob → F )
Edits object. When the user cancels, only FALSE is returned. Otherwise the changed object along with TRUE is returned.
2F1AC StrEdit
011004 ^EQW3Edit ( symb → symb' T )
( symb → F )
Opens the equation editor to edit the expression. If exited by ENTER, returns new expression and TRUE. If exited by CANCEL, returns just FALSE.
2EEE9 EditString ( $ → )
Starts editing the string in the command line when the current program exits. This is the entry to use if a program should exit with the command line. Use InitEdLine before this entry to clear the command line (if desired) - if not, the string is inserted into the existing command line. All code after this entry will be executed before control is handed to the editor application. For example:
::
"SOME STRING"
DUPLEN$ SWAP (get length)
InitEdLine (clear the editline)
EditString (string to editline)
STO_CURS_POS2 (cursor at end)
"Starting editor..."
FlashMsg (display *before* edit)
;
Note that when you press ENTER after editing, the command line will be parsed normally.
2B351 Rcl&Do: ( id → )
Executes the program which is next in the runstream on the contents of the variable. The program typically is an edit command, with the stack diagrams
( ob → ob' T )
( ob → F )
If the flag is TRUE, ob' is stored back into the original variable.
2B31A Roll&Do: ( # → )
Does ROLL and then executes the program which is next on the runsteam. So the program is applied to the object on level #. Typically, this is an edit command, with the stack diagram
( ob → ob )
After the program exits, UNROLL is used to put the object back to the right stack position. This entry is probably used in the interactive stack.
2F09B (Rcl&Edit) ( id → )
Uses Rcl&Do: to edit the contents of the variable.
2F09C (Rcl&View) ( id → )
Uses Rcl&Do: to view the contents of the variable.
2F09D (Roll&Edit) ( # → )
Uses Roll&Do: to edit the contents of specified stack level.
2F09E (Roll&View) ( # → )
Uses Roll&Do: to view the contents of specified stack level.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html