The methods of the THtmlEditor class are listed here.
|
|
Name |
Description |
|
Add char at caret position | |
|
Add horizontal divider <hr> at caret position | |
|
Insert HTML at caret position. HTML is wrapped into <span> tag | |
|
This is the overview for the AddImageAtCursor method overload. | |
|
Add line break | |
|
Add new paragraph at caret position | |
|
Add text string at caret positon | |
|
Add table at caret position. | |
|
Add new text element before or after specified element | |
|
Returns true if undo history is not empty | |
|
Move caret one line down | |
|
This is CaretEnd, a member of class THtmlEditor. | |
|
Move caret to first cell in table row | |
|
Move caret to last cell in table row | |
|
This is CaretLineEnd, a member of class THtmlEditor. | |
|
This is CaretLineStart, a member of class THtmlEditor. | |
|
This is CaretNext, a member of class THtmlEditor. | |
|
Move caret to next cell in table row | |
|
Move caret to next word | |
|
This is CaretPageDown, a member of class THtmlEditor. | |
|
This is CaretPageUp, a member of class THtmlEditor. | |
|
Move caret to the end of a current paragraph | |
|
Move caret to start of current paragraph | |
|
This is CaretPrevious, a member of class THtmlEditor. | |
|
Move caret to previous cell in table row | |
|
Move caret to previous word | |
|
Caret moving | |
|
This is the overview for the CarettoElement method overload. | |
|
Move caret to the end of specified element | |
|
Move caret to the start of specified element | |
|
Move caret one line up | |
|
This is CharAtCursor, a member of class THtmlEditor. | |
![]() |
Copy current selection to clipboard as HTML and text | |
|
Create an HTML with search results. This method could be used to implement a search window, see Editor demo application. | |
|
Creates table of contents fpr document. See Editor demo application for details. Document should contain <h1>...<h5> tags for this method to work. | |
|
Returns true if current element is text element | |
|
Current element (containig caret) as TTextElement element. Use this function only after CurrentIsText checking | |
|
Cut current selection to clipboard as HTML and text | |
|
Increase indent of selection or current block if selection is empty | |
|
This is DeleteBlockElement, a member of class THtmlEditor. | |
|
Delete char from text element or delete full element for non-text elements | |
|
Delete element and optionally add to undo history | |
|
Delete current selection | |
|
This is DeleteTextElement, a member of class THtmlEditor. | |
|
Disable caret | |
|
Use this method to notify the editor of any changes in document. | |
|
Convert Document coordinate to screen coordinate | |
|
This is DropImages, a member of class THtmlEditor. | |
|
Enable caret | |
|
This is FMXCreateCaret, a member of class THtmlEditor. | |
|
This is FMXGetCaret, a member of class THtmlEditor. | |
|
This is FMXHideCaret, a member of class THtmlEditor. | |
|
This is FMXShowCaret, a member of class THtmlEditor. | |
|
This is GetAbsoluteCaretPostion, a member of class THtmlEditor. | |
|
Return element by its absolute position in document. Absolute position is calculated by summing a visual length of all text elements and images (length=1). | |
|
Increase indent of selection or current block if selection is empty | |
|
Insert (or move) element into other element at specified position. If destination element is text it will be divided into two new text elements. | |
|
This is ListPara, a member of class THtmlEditor. | |
![]() |
This is Paint, a member of class THtmlEditor. | |
|
caret | |
|
Paste text or HTML from clipboard at caret position | |
|
Paste image from clipboard at caret position | |
|
This is RecreateCaret, a member of class THtmlEditor. | |
|
Calculate document styles, layout and (optionally) repaint the editor window | |
|
Register autoreplace rule | |
|
This is RemoveBlockElement, a member of class THtmlEditor. | |
|
Restore caret position | |
|
Save caret position | |
![]() |
This is Scroll, a member of class THtmlEditor. | |
|
Returns true if selection is not empty | |
|
Select word at caret position | |
|
This is SetAbsoluteCaretPosition, a member of class THtmlEditor. | |
|
Set text alignment for selection or current block | |
|
This is SetCaret, a member of class THtmlEditor. | |
|
This is SetCarettoPoint, a member of class THtmlEditor. | |
|
This is SetCurrent, a member of class THtmlEditor. | |
|
Set header level for current block. Level 0 = p. level 1-5 = h1-h5 | |
|
Set line height (CSS line-height) for current block | |
|
Convert selection to ordered or unordered list | |
|
This is SetOnSpellCheck, a member of class THtmlEditor. | |
|
This is SetSpellChecking, a member of class THtmlEditor. | |
|
This is SplitBlock, a member of class THtmlEditor. | |
|
Split block at caret position | |
|
This is SplitListItem, a member of class THtmlEditor. | |
|
Wrap current selection by tag | |
|
This is UnionElements, a member of class THtmlEditor. | |
|
This is UnlistItem, a member of class THtmlEditor. | |
|
Remove list style from current selection | |
|
Remove specified tag from current selection. If attributes parameter is not empty only tags with same attributes (and values) will be removed | |
|
This is UnwrapbyTag, a member of class THtmlEditor. | |
|
Update caret position | |
|
Word at specified screen point. | |
|
Word at caret position | |
|
This is WrapBlock, a member of class THtmlEditor. | |
|
returns last element |
|
Copyright (c) 2013. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|