Invokes an external text editor for an arrayint sm_fio_editor(char *array_name);
- The name of the array whose contents you wish to edit.
sm_fio_editorinvokes the editor specified in the behavior variable
SMEDITORand writes the contents of
array_nameto a temporary file. Each occurrence is written as a single line to that file.
When you exit the editor, Panther writes the edited text back to the array. Panther attempts to write each line in the file to a single occurrence. If any line is too long for its target occurrence, Panther breaks the line and writes the overflow text to the next occurrence. If the array contains too few occurrences to read the entire file,
sm_fio_editordiscards the excess text.