Extension to ITextEditorController.
More...
#include <ctexteditor.h>
◆ IEditorExt
◆ Styles
◆ beginDraw()
| virtual void beginDraw |
( |
const IEditorExt & | editor | ) |
|
|
pure virtual |
Notification that drawing begins.
- Parameters
-
| editor | reference to the editor |
◆ endDraw()
Notification that drawing has ended.
- Parameters
-
| editor | reference to the editor |
◆ getStyles()
| virtual Styles getStyles |
( |
const IEditorExt & | editor, |
|
|
size_t | beginOffset, |
|
|
size_t | length ) |
|
pure virtual |
Get the styles of the text.
The text editor calls this while drawing to get the styles for the text range. The returned styles must be orded from front to back. If ranges are missing in the styles, they are rendered with the default style.
- Parameters
-
| editor | reference to the editor |
| beginOffset | offset into the text buffer in number of characters |
| length | number of characters |
- Returns
- vector of styles for the range
The documentation for this struct was generated from the following file: