| << Click to display table of contents >> RVA_EditorControlFunction Global Variable | 
This variable refers to the function allowing for the actions inherited from TrvCustomEditAction to work with additional editor types.
Unit RichViewActions;
type
TRVAEditorControlCommand = (rvaeccIsEditorControl, rvaeccHasSelection,
rvaeccCanPaste, rvaeccCanPasteText,
rvaeccCanUndo, rvaeccCopy, rvaeccCut,
rvaeccPaste, rvaeccPasteText, rvaeccUndo);
TRVAEditorControlCommandFunction =
function (Control: TControl;
Command: TRVAEditorControlCommand): Boolean;
var
RVA_EditorControlFunction: TRVAEditorControlCommandFunction;
By default, this variable is initialized with RVA_EditorControlFunctionDef function.
| Command | The function must... | 
| rvaeccIsEditorControl | ... return True if Control is a supported editor control. | 
| rvaeccHasSelection | ... return True if the selection in Control is not empty | 
| rvaeccCanPaste | ... return True if Control can paste data from the Clipboard. | 
| rvaeccCanPasteText | ... return True if Control can paste text from the Clipboard. | 
| rvaeccCanUndo | ... return True if Control can undo the last editing operation | 
| rvaeccCopy | ... copy the selection from Control to the Clipboard | 
| rvaeccCut | ... cut the selection from Control to the Clipboard | 
| rvaeccPaste | ... paste data from the Clipboard into Control | 
| rvaeccPasteText | ... paste text from the Clipboard into Control | 
| rvaeccUndo | ... undo the last editing operation in Control |