SyntaxEdit Control Members
See Also
| Syntax Edit ActiveX Control v24.0 |
|---|
![]() |
SyntaxEdit Control Members
Public Methods
| Method | Description |
|---|---|
AddRemoveBookmark |
Adds or removes a bookmark at a specified row/line in the editor. |
AddRemoveBreakPoint |
Adds or removes a break point at a specified row/line in the editor. |
ClearUndoBuffer |
Clears the undo manager buffer and deletes all commands. |
Copy |
Copies the selected text to clipboard. |
Cut |
Copies the selected text to clipboard and deletes it from the document. |
Find |
Finds a certain text with some parameters for find. |
HideFindReplaceDialog |
Hides the Find or Replace dialog if visible. |
IndentSelection |
Inserts a tab in front of the line that the cursor is currently positioned. |
InsertRow |
Adds a row of text to the syntax editor. |
NextBookmark |
Moves the current position in the editor to the next bookmark. |
OpenFile |
Opens a text file to be displayed in the syntax editor. |
Paste |
Pastes text from the clipboard to the current document at the position of the cursor. |
PrevBookmark |
Moves the current position in the editor to the previous bookmark. |
PrintPreview |
Displays a print preview window. |
PrintPreviewExt |
Runs print preview in non-maximized mode with given screen position and size. |
PrintText |
Prints the current Syntax Edit view. |
PrintText2 |
Prints the current Syntax Edit view with the option to print immediately without showing any dialogs or needing any HDC handle. |
Redo |
Reapplies previous editing actions that have been undone. |
RedrawControl |
Redraws the visual properties of the editor. |
RefreshColors |
Refreshes colors for the current document. |
RemoveRow |
Removes a row of text from the syntax editor. |
ReplaceAll |
Replaces all occurrences of szFindText with szReplaceText. |
ReplaceSel |
Replaces a selection with the supplied text. |
RowColCodeFromPoint |
Returns the column and row in the syntax editor at the specified x and y coordinates. |
SaveFile |
Saves any modifications to the currently open text file. |
SaveFileAs |
Saves any modifications to the currently open text file to a new file with the specified name. |
SelectAll |
Selects all text in the Syntax Editor. |
SetCodePage |
Sets the code page used by the syntax editor. |
SetRowBkColor |
Sets the background color of a specified row. |
SetRowColor |
Sets the text color of a specified row. |
SetScrollBars |
Sets the scroll bars for the syntax editor. |
ShowFindReplaceDialog |
Shows a find or replace dialog. |
Undo |
Reverses previous editing actions on a document. |
UnindentSelection |
Removes a tab in front of the line that the cursor is currently positioned. |
Public Properties
| Property | Description |
|---|---|
ActivateOnFocus |
Specifies whether to activate control on focus set. |
AllowExpandCollapseInViewOnly |
Enables or disables the use of the expand/collapse buttons when in ViewOnly mode. |
AutoCompleteWnd |
Gets or sets the width of the Intellisense Auto Complete Window. |
AutoCompleteWndWidth |
Gets or sets the width of the Intellisense Auto Complete Window. |
BorderStyle |
Gets or sets the border style of the syntax editor. |
CanCopy |
Specifies whether some text in the editor is currently selected and can be copied to the clipboard. |
CanCut |
Specifies whether some text in the editor is currently selected and can be cut from the document and placed on the clipboard. |
CanPaste |
Determines whether the clipboard contains some text. |
CanRedo |
Specifies whether a Redo action can be performed. |
CanUndo |
Specifies whether an Undo action can be performed. |
ConfigFile |
Gets or sets the path to the main configuration file. |
CurrPos |
Gets/sets the current cursor position. |
CustomTitle |
Gets/sets the title that is printed at the top of the page when the document is printed. |
DataManager |
Not accessible at this time. |
EnableAutoIndent |
Enables or disables auto indent. |
Enabled |
Gets or sets a value that determines whether the syntax editor is enabled. |
EnableEditAccelerators |
Enables or disables the use of commonly used edit accelerators such as Ctrl+C, Ctrl+V, etc. |
EnableSyntaxColorization |
Enables/disables syntax colorization. |
EnableVirtualSpace |
Specifies whether spaces are inserted at the end of each line of text. |
FileMonitorMode |
Monitors changes to the syntax used to format the file. |
FindReplaceDialogHistoryCountMax |
Returns whether the Find or Replace dialog is currently visible. |
FindReplaceDialogVisible |
Gets or sets the font used to display text in the syntax editor. |
Font |
Syntax Edit global settings, such as application name and resource file. |
GlobalSettings |
Gets or sets whether the blinking cursor that shows the current position is visible. |
HideCaret |
Specifies the format of the line numbers when visible. |
hWnd |
hWnd property returns the handle to the syntax editor control. |
LineMarksManager |
Returns or sets how a target component handles drop operations. |
LineNumbersFormat |
Toggles the text-entry mode between insert and overwrite. |
OLEDropMode |
Handles most of the drawing activities for colorizing the syntax editor. |
OverwriteMode |
Options that specify how the syntax edit view should look when sent to a print device. |
PaintManager |
Object that contains options for the print preview window. |
PrintOptions |
Gets or sets a value indicating whether text in the syntax editor is read-only. |
PrintPreviewOptions |
Returns the total number of lines in the syntax editor. |
ReadOnly |
Gets or set the text for the specified row. |
ReCreateReparented |
Gets the total number of characters in the specified row. |
RowsCount |
Returns the currently selected text. |
RowText |
Gets or sets whether collapsible nodes are visible. |
RowTextLength |
Enables or disables line numbering. |
Selection |
Enables or disables the horizontal scroll bar. |
ShowCollapsibleNodes |
Enables or disables the vertical scroll bar. |
ShowLineNumbers |
Enables or disables the gutter. |
ShowScrollBarHorz |
Enables/disables showing white spaces (tabs/spaces). |
ShowScrollBarVert |
Sets the tab size. |
ShowSelectionMargin |
Enables/disables replacing tabs with spaces. |
ShowWhiteSpace |
Gets or sets the text contained inside the syntax editor. |
TabSize |
Gets the total number of characters in the syntax editor. |
TabWithSpace |
Gets or sets the current top row in the editor. |
Text |
Enables or disables a "ReadOnly" like mode. |
TextLength |
|
TopRow |
|
ViewOnly |
Events
| Event | Description |
|---|---|
CurPosChanged |
Occurs when the cursor position has changed in the syntax editor. |
DblClick |
Occurs when the user double-clicks the syntax edit control. |
KeyDown |
Occurs when the user releases a key while a control has the focus. (To determine ANSI characters, use the KeyPress event.) |
KeyUp |
Occurs when the user releases a key while a control has the focus. (To determine ANSI characters, use the KeyPress event.) |
MouseDown |
Occurs when the user presses a mouse button. |
MouseMove |
Occurs when the user moves the mouse. |
MouseUp |
Occurs when the user releases a mouse button. |
OLEDragDrop |
Occurs when a source component is dropped onto a target component when the source component determines that a drop can occur. |
OLEDragOver |
Occurs when one component is dragged over another. |
ReCreated |
|
TextChanged |
Occurs when the contents of the syntax editor have been modified. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.
