ITextEditorEvents Interface
This is a callback interface that is used for reporting events from the TextEditor object to the listeners. This interface is implemented on the client-side. See the detailed implementation advice for your development tool in Working with Connectable Objects.
This interface is derived from IInputEvents interface and inherits all its methods. Note that the mouse and keyboard input events of Text Validator which has been opened using the Check Spelling button of Text Editor, are translated to Text Editor (not to Text Validator).
An object receiving notifications through this interface's methods may do the following inside the methods' implementation:
- Report information about scaling, symbols selection, text editing and cancel these operations.
- Process any Windows messages, which is useful in applications having user interface, to avoid the effect that the application "is not responding" during long operations.
- Report information about mouse moving and clicking, key pressing, scrolling.
Methods
Name | Description |
---|---|
OnActivePageChanged | Called after the active page has been changed in Text Editor. Delivers to the client a reference to the new active page. |
OnActivePageChanging | Called before changing the active page in Text Editor. Delivers to the client a reference to the new active page. Allows you to cancel the operation. |
OnEditorBlockChanged | Called after cursor position has been changed in Text Editor. Delivers to the client the index of the block and the cell in the block, where the cursor is currently located. |
OnOptionsChanged | Called after an option have been changed in Text Editor. Options are specified in the Options dialog box, which is displayed if the MI_Options command is called. |
OnScale | Called before scaling a text in Text Editor. Delivers to the client the scale value. Allows you to cancel the operation. |
OnSymbolSelected | Called after a symbol has been selected in Text Editor. Delivers to the client information on the surrounding rectangle of the symbol. |
See also
9/17/2024 3:14:40 PM