These API routines allow you to manipulate the Visual FoxPro text editor, the file open in the text editor, and the clipboard.
Hides or shows the selection range or insertion point.
Closes the specified file while saving without asking, prompting before saving, or saving as another file.
Copies selected area to the clipboard.
Copies selected area to the clipboard and deletes it from the editor.
Deletes the selected area. If there is no selection, deletes character at current pos.
Gets the character at EDPOS.
Reads various editor settings.
Returns the line number for the position EDPOS.
Returns the EDPOS for the beginning of the line EDLINE.
Returns current editor POS, or returns anchor point if there's a selection.
Gets the text between EDPOS and EDPOS inclusive, and places it in TEXT.
Indents the selected text by int tab stops. Int can be negative in order to format a hanging indent.
Inserts BYTES of TEXT.
Returns the error number of the last editor error.
Starts an editor session on this file.
Copies clipboard text into the editor at current position.
Returns TRUE if the editor position is visible.
Redoes the most recent undo.
Reverts to a saved file.
Saves the file without closing the editing window.
Makes sure that EDPOS passed is on the screen, but doesn't move insertion point. BOOL means center EDPOS vertically.
Makes sure the selection anchor point is on the screen. BOOL means center anchor point vertically.
Selects the range from EDPOS to EDPOS. To move the insertion point, set both EDPOSes the same.
Simulates key press given by int.
Sets various editor settings.
Moves insertion point, and has side affect of unselecting anything currently selected.
Moves insertion point from EDPOS to beginning of line int.
Undoes the most recent changes.
Groups the actions performed after _EdUndoOn( ) is passed until it is passed again as a single action for undo purposes.