Add
an easy-to-use edit control that supports built-in HTML format, and syntax
highlighting as well. You can define your own keywords and expressions using
built-in HTML expressions. The control is fully written in C++ using ATL. You
should know that the control is written from scratch and it does NOT use or
subclass the RichEdit control or Windows Edit control. The Edit control
supports the following methods and properties:
| |  | Name | Description | |
| | | AddExpression | Adds a single or multiple lines expression to a sensitive control. | |
| | | AddKeyword | Adds a keyword to a sensitive control. | |
| | | AddWild | Adds a wild characters expression to a sensitive control. | |
| | | AllowContextMenu | Specifies whether the control's default context menu is available. | |
| | | AllowFind | Specifies whether control displays a find dialog when user presses CTRL+F key. | |
| | | AllowIncrementalSearch | Specifies whether the control allows incremental search. | |
| | | AllowMark | Specifies a value that indicates whether the positions in text of expressions are marked on the vertical scroll bar. | |
| | | AllowReplace | Specifies whether control displays a replace dialog when user presses CTRL+H key. | |
| | | AllowSplitter | Specifies whether the control's splitter is visible or hidden. | |
| | | AllowUndoRedo | Specifies whether the control allows undo/redo actions. | |
| | | Appearance | Retrieves or sets the control's appearance. | |
| | | ApplyColors | Specifies whether the control applies the HTML colors. | |
| | | AutoIndent | Specifies whether the control indents the line when ENTER key is pressed. | |
| | | BackColor | Retrieves or sets a value that indicates the control's background color. | |
| | | BackColorAlternate | Returns or sets the background color used to display alternate lines in the control. | |
| | | BackColorCaretLine | Returns or sets the background color used to display the cursor line. | |
| | | BackColorLine | Specifies the line's background color. | |
| | | BackColorLockedLine | Retrieves or sets a value that indicates the line's background color when it is locked. | |
| | | Bookmark | Adds or removes a bookmark. | |
| | | BookMarkBackColor | Specifies the bookmark bar background's color. | |
| | | BookMarkBackColor2 | Specifies the bookmark bar background's color. | |
| | | BookmarkBorderColor | Specifies the color for bookmark's border. | |
| | | BookmarkImage | Specifies the index of image being displayed when the line has a bookmark. | |
| | | BookmarkImageLine | Retrieves or sets a value that indicates the index of image being displayed on the bookmark header. | |
| | | BookmarksList | Specifies the list of bookmarks.. | |
| | | BookmarkWidth | Specifies the bookmarks border's width. | |
| | | CanRedo | Determines if the redo queue contains any actions. | |
| | | CanUndo | Determines whether the last edit operation can be undone. | |
| | | Caption | Specifies the caption for a field on the Find or Replace dialog. | |
| | | CaretLine | Specifies the line of caret. | |
| | | CaretPos | Retrieves or sets a value that indicates the position of the caret in the line. | |
| | | CaretPosX | Retrieves the x-coordinate of the caret in pixels, relative to the control's client area. | |
| | | CaretPosY | Retrieves the y-coordinate of the caret, in pixels relative to the control's client area. | |
| | | ClearBackColorLine | Clears the line's background color. | |
| | | ClearBookmarks | Clears all bookmarks. | |
| | | ClearExpressions | Clears the expressions collection into a sensitive control. | |
| | | ClearForeColorLine | Clears the line's foreground color. | |
| | | ClearKeywords | Clears the keywords collection into a sensitive control. | |
| | | ClearWilds | Clears the wild characters expressions collection into a sensitive control. | |
| | | ClientToCursor | Converts client coordinates to cursor coordinates. | |
| | | CloseBrackets | Specifies the list of closed brackets. | |
| | | CodeCompletion | Specifies whether the code completion feature is enabled or disabled. | |
| | | Context | Gets the context's collection. | |
| | | ContextKey | Specifies the key combination that opens the control's context window. | |
| | | ContextMenuItems | Specifies a list of items that are added to the control's context menu. | |
| | | Count | Counts the lines in the control. | |
| | | Cursor | Gets or sets the cursor that is displayed when the mouse pointer hovers the control. | |
| | | DeleteExpression | Deletes an expression from expressions collection. | |
| | | DeleteKeyword | Deletes a keyword from keywords collection. | |
| | | DeleteLine | Deletes the line. | |
| | | DeleteWild | Deletes an entry from the wild characters expressions collection. | |
| | | DisplaySelection | Specifies whether the control displays the selection. | |
| | | DrawGridLines | Returns or sets a value that determines whether lines are drawn between rows, or unpopulated areas. | |
| | | EditType | Specifies the control's type. | |
| | | Enabled | Enables or disables the control. | |
| | | EnsureVisibleLine | Ensures that specified line is visible. | |
| | | FileName | Specifies the name of the file being loaded or saved. | |
| | | Find | Finds a string and selects the string if it is found. | |
| | | FocusPane | Specifies the index of pane that has the focus. | |
| | | Font | Retrieves or sets the control's font. | |
| | | ForeColor | Retrieves or sets a value that indicates the control's foreground color. | |
| | | ForeColorLine | Specifies the line's foreground color. | |
| | | ForeColorLockedLine | Retrieves or sets a value that indicates the line's foreground color when it is locked. | |
| | | FormatNumbers | Specifies the HTML format that's applied to numbers. | |
| | | GetSelection | Retrieves the coordinates of the selection. | |
| | | HideSelection | Specifies whether the selection in the control is hidden when the control loses the focus. | |
| | | hWnd | Gets the window's handle. | |
| | | hWndPane | Gets the window handle of the control's pane. | |
| | | IgnorePrefixInExpression | Specifies a value that indicates the prefix that's ignored in the expression. | |
| | | Images | Sets the control's images list at runtime. The Handle should be a handle to an Image List control. | |
| | | IndentOnTab | Specifies whether the multiple lines selection is indented when user presses the TAB key. | |
| | | IndentSel | Indents the selected text. | |
| | | InsertText | Inserts text to control. | |
| | | LineNumberBackColor | Specifies the background color of the line number bar. | |
| | | LineNumberBorderColor | Specifies the color for line number's border. | |
| | | LineNumberFont | Retrieves or sets the font of the line numbers bar. | |
| | | LineNumberForeColor | Specifies the foreground color of the line number bar. | |
| | | LineNumberWidth | Specifies the width of the border where the that contains the line numbers. | |
| | | Load | Loads a file. | |
| | | Locked | Determines whether a control can be edited. | |
| | | LockedLine | Specifies whether a line is locked or unlocked. | |
| | | MarkColor | Specifies a color being used to mark the position of the expression, on the control's vertical scroll bar. | |
| | | MarkContinueBlocks | Marks continuously the blocks. | |
| | | MultiLine | Specifies whether the control accepts multiple lines. | |
| | | NextBookmark | Moves the cursor to the next bookmark. | |
| | | OLEDrag | Causes a component to initiate an OLE drag/drop operation. | |
| | | OLEDropMode | Returns or sets how a target component handles drop operations | |
| | | OpenBrackets | Specifies the list of opened brackets. | |
| | | Overtype | Specifies whether the control is running in overtype mode. | |
| | | Picture | Retrieves or sets a graphic to be displayed in the control. | |
| | | PictureDisplay | Retrieves or sets a value that indicates the way how the graphic is displayed on the control's background | |
| | | PrevBookmark | Moves the cursor to the prior bookmark. | |
| | | RClick | Specifies whether the control's cursor is placed at the mouse position when user right clicks the control. | |
| | | Redo | Redoes the next action in the control's redo queue. | |
| | | Refresh | Refreshes the control. | |
| | | ReplaceIcon | Adds a new icon, replaces an icon or clears the control's image list. | |
| | | Save | Saves the control's text to a file. | |
| | | ScrollBars | Specifies the type of scroll bars that control has. | |
| | | SelBackColor | Specifies the selection's background color. | |
| | | SelectLine | Selects a line by code. | |
| | | SelForeColor | Specifies the selection's foreground color. | |
| | | SelLength | Returns or sets the number of characters selected. | |
| | | SelStart | Returns or sets the starting point of text selected; indicates the position of the insertion point if no text is selected. | |
| | | SelText | Returns or sets the string containing the currently selected text. | |
| | | SetSelection | Selects the text giving the start and end coordinates. | |
| | | ShowCaret | Specifies whether the control's caret is visible or hidden. | |
| | | ShowImageList | Specifies whether the control's images panel dialog is visible or hidden. | |
| | | SplitPaneHeight | Specifies a value that indicates the height in pixels of the top pane(s) when splitting. | |
| | | SplitPaneWidth | Specifies a value that indicates the width in pixels of the left pane(s) when splitting. | |
| | | TabLength | Specifies the size of each tab stop, in units equal to the average character width. | |
| | | Template | Specifies the control's template. | |
| | | Text | Specifies the control's text. | |
| | | TextLine | Specifies the line based on its index. | |
| | | ToolTipDelay | Specifies the time in ms that passes before the ToolTip appears. | |
| | | ToolTipPopDelay | Specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. | |
| | | ToolTipWidth | Specifies a value that indicates the width of the tooltip window, in pixels. | |
| | | Undo | Call this function to undo the last edit-control operation. | |
| | | UseTabKey | Specifies whether the control uses the TAB key. | |
| | | Version | Retrieves the control's version. | |