Skip to main content

SyntaxEditor Events

Enables the Script Editor to implement intelligent code completion.
Name Description
ActiveRecordChanged Occurs after traversing to the next data record in a mail merge data source. Inherited from RichEditControl.
ActiveRecordChanging Occurs before traversing to the next data record in a mail merge data source. Inherited from RichEditControl.
ActiveViewChanged Occurs when the value of the RichEditControl.ActiveView property is changed. Inherited from RichEditControl.
AfterExport Occurs after the document is successfully exported. Inherited from RichEditControl.
AutoCorrect Fires when text is typed in the control. Inherited from RichEditControl.
AutoSizeChanged This event is not relevant for this class. Inherited from Control.
BackColorChanged Occurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChanged Occurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChanged Occurs when the BackgroundImageLayout property changes. Inherited from Control.
BeforeDispose Occurs before the RichEdit control is released from memory Inherited from RichEditControl.
BeforeEncodingDetection Occurs before detection of the loaded plain text or HTML encoding. Inherited from RichEditControl.
BeforeExport Occurs before the document is saved (exported to a certain format). Inherited from RichEditControl.
BeforeImport Occurs before a document is loaded (imported from an external source). Inherited from RichEditControl.
BeforePagePaint Enables you to specify a custom PagePainter descendant to alter the way the layout elements are drawn. Inherited from RichEditControl.
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from Control.
BookmarkFormShowing Occurs before the Bookmark dialog is invoked. Inherited from RichEditControl.
BorderShadingFormShowing Occurs before the Borders and Shading dialog is invoked. Inherited from RichEditControl.
CalculateDocumentVariable Fires when the DOCVARIABLE field is updated. Inherited from RichEditControl.
CausesValidationChanged Occurs when the value of the CausesValidation property changes. Inherited from Control.
ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
Click Occurs when the control is clicked. Inherited from Control.
ClientSizeChanged Occurs when the value of the ClientSize property changes. Inherited from Control.
ClipboardSetDataException Occurs when an exception is thrown while trying to place data onto the Clipboard. Inherited from RichEditControl.
CloseReviewingPane Occurs when closing the reviewing pane displaying document comments. Inherited from RichEditControl.
ColumnsSetupFormShowing Occurs before the Columns dialog is invoked. Inherited from RichEditControl.
CommentInserted Occurs after a new comment is created in the document. Inherited from RichEditControl.
ContentChanged Occurs when the document content was changed. Inherited from RichEditControl.
ContextMenuChanged Occurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChanged Occurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAdded Occurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemoved Occurs when a control is removed from the Control.ControlCollection. Inherited from Control.
ConvertNotesFormShowing Occurs before the Convert Notes dialog is invoked. Inherited from RichEditControl.
CursorChanged Occurs when the value of the Cursor property changes. Inherited from Control.
CustomDrawActiveView Occurs before the active RichEdit view is displayed, and enables you to draw graphics on the document area. Inherited from RichEditControl.
CustomizeMergeFields Fires when the ‘Insert Merge Field’ command button is clicked, and enables you to customize a drop-down field list. Inherited from RichEditControl.
CustomMarkDraw Fires before a custom mark is painted, and enables you to visualize the custom mark as required. Inherited from RichEditControl.
CustomPropertiesChanged Occurs when one of the DocumentCustomProperties has changed. Inherited from RichEditControl.
DecryptionFailed Occurs if the RichEditControl failed to open an encrypted file. Inherited from RichEditControl.
DeleteTableCellsFormShowing Occurs before the Delete Cells dialog is invoked. Inherited from RichEditControl.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DocBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
DockChanged Occurs when the value of the Dock property changes. Inherited from Control.
DocmBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
DocumentClosing Occurs when a document that contains unsaved changes is about to be closed. Inherited from RichEditControl.
DocumentEncryptionChanged Occurs after one of the DocumentEncryption properties has been changed. Inherited from RichEditControl.
DocumentLoaded Occurs after a document is loaded into the RichEdit control. Inherited from RichEditControl.
DocumentPropertiesChanged Occurs after one of the DocumentProperties has changed. Inherited from RichEditControl.
DocumentPropertiesFormShowing Occurs before the Document Properties dialog is invoked. Inherited from RichEditControl.
DocumentProtectionChanged Fires when the document protection is enforced or dropped. Inherited from RichEditControl.
DocumentProtectionQueryNewPasswordFormShowing Occurs before the Document Protection dialog is invoked. Inherited from RichEditControl.
DocumentProtectionQueryPasswordFormShowing Occurs before the Unprotect Document dialog is invoked. Inherited from RichEditControl.
DotBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
DotmBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
DotxBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
DoubleClick Occurs when the control is double-clicked. Inherited from Control.
DragDrop Occurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnter Occurs when an object is dragged into the control’s bounds. Inherited from Control.
DragLeave Occurs when an object is dragged out of the control’s bounds. Inherited from Control.
DragOver Occurs when an object is dragged over the control’s bounds. Inherited from Control.
EditStyleFormShowing Fires before the Style Editor dialog is displayed. Inherited from RichEditControl.
EmptyDocumentCreated Occurs when a new document is created in the RichEdit Control. Inherited from RichEditControl.
EnabledChanged Occurs when the Enabled property value has changed. Inherited from Control.
EncryptDocumentFormShowing Occurs before the Encrypt Document Dialog is invoked. Inherited from RichEditControl.
EncryptedFileIntegrityCheckFailed Occurs when the encrypted file does not pass data integrity verification. Inherited from RichEditControl.
EncryptedFilePasswordCheckFailed Occurs when the encryption password is empty or invalid. Inherited from RichEditControl.
EncryptedFilePasswordRequested Occurs when the RichEditDocumentImportOptions.EncryptionPassword property is not set. Inherited from RichEditControl.
Enter Occurs when the control is entered. Inherited from Control.
FinishHeaderFooterEditing Occurs when the end-user finishes editing a header or footer. Inherited from RichEditControl.
FlatOpcBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
FlatOpcMacroEnabledBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
FlatOpcMacroEnabledTemplateBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
FlatOpcTemplateBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
FloatingInlineObjectLayoutOptionsFormShowing Raised before the Inline and Floating Object Layout Dialog is shown. Inherited from RichEditControl.
FontChanged Occurs when the Font property value changes. Inherited from Control.
FontFormShowing Occurs before the Font dialog is invoked. Inherited from RichEditControl.
ForeColorChanged Occurs when the ForeColor property value changes. Inherited from Control.
GiveFeedback Occurs during a drag operation. Inherited from Control.
GotFocus Occurs when the control receives focus. Inherited from Control.
HandleCreated Occurs when a handle is created for the control. Inherited from Control.
HandleDestroyed Occurs when the control’s handle is in the process of being destroyed. Inherited from Control.
HelpRequested Occurs when the user requests help for a control. Inherited from Control.
HtmlTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
HyperlinkClick Occurs when an end-user clicks the hyperlink to activate it. Inherited from RichEditControl.
HyperlinkFormShowing Occurs before the Edit Hyperlink dialog is invoked. Inherited from RichEditControl.
HyphenationFormShowing Occurs before the Hyphenation dialog is invoked. Inherited from RichEditControl.
ImeModeChanged Occurs when the ImeMode property has changed. Inherited from Control.
InitializeDocument Occurs before a document is loaded. Handle this event to set initial document settings. Inherited from RichEditControl.
InsertMergeFieldFormShowing Occurs before the Insert Merge Field dialog is invoked. Inherited from RichEditControl.
InsertObjectFormShowing Occurs before the Object Dialog is invoked. Inherited from RichEditControl.
InsertTableCellsFormShowing Occurs before the Insert Cells dialog is invoked. Inherited from RichEditControl.
InsertTableFormShowing Occurs before the Insert Table dialog is invoked. Inherited from RichEditControl.
Invalidated Occurs when a control’s display requires redrawing. Inherited from Control.
InvalidFormatException Fires when the supplied data could not be recognized as data in the assumed format for import. Inherited from RichEditControl.
KeyDown Occurs when a key is pressed while the control has focus. Inherited from Control.
KeyPress Occurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUp Occurs when a key is released while the control has focus. Inherited from Control.
Layout Occurs when a control should reposition its child controls. Inherited from Control.
Leave Occurs when the input focus leaves the control. Inherited from Control.
LineNumberingFormShowing Occurs before the Line Numbers dialog is invoked. Inherited from RichEditControl.
LocationChanged Occurs when the Location property value has changed. Inherited from Control.
LostFocus Occurs when the control loses focus. Inherited from Control.
MailMergeFinished Fires when the mail merge is completed. Inherited from RichEditControl.
MailMergeRecordFinished Fires after each data record is merged with the document in the mail merge process. Inherited from RichEditControl.
MailMergeRecordStarted Fires before each data record is merged with the document in the mail merge process. Inherited from RichEditControl.
MailMergeStarted Fires before mail merge starts. Inherited from RichEditControl.
MarginChanged Occurs when the control’s margin changes. Inherited from Control.
MhtTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
ModifiedChanged Occurs when the value of the RichEditControl.Modified property is changed. Inherited from RichEditControl.
MouseCaptureChanged Occurs when the control loses mouse capture. Inherited from Control.
MouseClick Occurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClick Occurs when the control is double clicked by the mouse. Inherited from Control.
MouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnter Occurs when the mouse pointer enters the control. Inherited from Control.
MouseHover Occurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeave Occurs when the mouse pointer leaves the control. Inherited from Control.
MouseMove Occurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUp Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheel Occurs when the mouse wheel moves while the control has focus. Inherited from Control.
Move Occurs when the control is moved. Inherited from Control.
NotesFormShowing Occurs before the Footnotes and Endnotes dialog is invoked. Inherited from RichEditControl.
NumberingListFormShowing Occurs before the Bullets and Numbering dialog is invoked. Inherited from RichEditControl.
OpenDocumentBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
OpenXmlBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
OvertypeChanged Fires when the RichEditControl.Overtype property value has been changed. Inherited from RichEditControl.
PaddingChanged Occurs when the control’s padding changes. Inherited from Control.
PageSetupFormShowing Occurs before the Page Setup dialog is invoked. Inherited from RichEditControl.
Paint Occurs when the control is redrawn. Inherited from Control.
ParagraphFormShowing Occurs before the Paragraph dialog is invoked. Inherited from RichEditControl.
ParentChanged Occurs when the Parent property value changes. Inherited from Control.
PasteSpecialFormShowing Occurs before the Paste Special dialog is invoked. Inherited from RichEditControl.
PopupMenuShowing Occurs before a context (popup) menu is created for the control’s document every time a context menu is being invoked. Inherited from RichEditControl.
PreparePopupMenu Obsolete. Occurs before a context (popup) menu is created for the control’s document every time a context menu is being invoked. Inherited from RichEditControl.
PreviewKeyDown Occurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
PropertyChanged Occurs every time any of the RichEditControl class properties has changed its value. Inherited from RichEditControl.
QueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDrag Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control.
RangeEditingPermissionsFormShowing Occurs before the Editing Permissions dialog is invoked. Inherited from RichEditControl.
ReadOnlyChanged Occurs when the read-only state of the RichEdit control is changed. Inherited from RichEditControl.
RegionChanged Occurs when the value of the Region property changes. Inherited from Control.
Resize Occurs when the control is resized. Inherited from Control.
RightToLeftChanged Occurs when the RightToLeft property value changes. Inherited from Control.
RtfTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
SearchFormShowing Occurs when a search form is invoked before it is displayed. Inherited from RichEditControl.
SelectionChanged Fires in response to changing a selection in the document. Inherited from RichEditControl.
ShowNotesFormShowing Occurs before the Show Notes dialog is invoked.’ Inherited from RichEditControl.
SizeChanged Occurs when the Size property value changes. Inherited from Control.
SpellingErrorLimitExceeded Raises when the number of found misspelled words exceeds the error limit. Inherited from RichEditControl.
SplitTableCellsFormShowing Occurs before the Split Cells dialog is invoked. Inherited from RichEditControl.
StartHeaderFooterEditing Occurs when the end-user starts editing a header or footer. Inherited from RichEditControl.
StyleChanged Occurs when the control style changes. Inherited from Control.
SymbolFormShowing Occurs before the Symbol dialog is invoked. Inherited from RichEditControl.
SystemColorsChanged Occurs when the system colors change. Inherited from Control.
TabIndexChanged Occurs when the TabIndex property value changes. Inherited from Control.
TableOptionsFormShowing Occurs before the Table Options dialog is invoked. Inherited from RichEditControl.
TablePositioningFormShowing Occurs before the Table Positioning dialog is invoked. Inherited from RichEditControl.
TablePropertiesFormShowing Occurs before the Table Properties dialog is invoked. Inherited from RichEditControl.
TableStyleFormShowing Occurs before a Table Style dialog is invoked. Inherited from RichEditControl.
TabsFormShowing Occurs before the Tabs dialog is invoked. Inherited from RichEditControl.
TabStopChanged Occurs when the TabStop property value changes. Inherited from Control.
TextChanged Occurs when the Text property value changes. Inherited from Control.
TrackedMovesConflict Occurs when moved text has been changed since it was moved. Inherited from RichEditControl.
UnhandledException This event is raised when an unhandled exception of the RichEditControl occurs. Inherited from RichEditControl.
UnitChanged Fires after the RichEditControl.Unit property is changed. Inherited from RichEditControl.
UnitChanging Fires before the RichEditControl.Unit property is changed. Inherited from RichEditControl.
UpdateUI Raised when changes occur which may affect the control’s UI. Inherited from RichEditControl.
Validated Occurs when the control is finished validating. Inherited from Control.
Validating Occurs when the control is validating. Inherited from Control.
VisibleChanged Occurs when the Visible property value changes. Inherited from Control.
VisiblePagesChanged Fires when RichEditControl starts or finishes displaying a document page. Inherited from RichEditControl.
WatermarkFormShowing Occurs before the Watermark dialog is invoked. Inherited from RichEditControl.
WordMLTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditControl.
ZoomChanged Fires when the zoom factor used to display the document is changed. Inherited from RichEditControl.
See Also