#include <vdkeditor.h>
Inheritance diagram for VDKEditor:
|
Constructor
|
|
Destructor |
|
Backward delete chars from insertion point |
|
Gets text buffer. |
|
Clears text buffer deleting all text. |
|
Clear syntax table |
|
Inserts a new line at insertion point |
|
Forward delete chars from insertion point |
|
Returns a text segment
|
|
Gets line number at a buffer position
|
|
Gets a word
|
|
Install syntax table. If a color arg is left to NULL no higligth will be done on that word set, if a font arg is left to NULL makes default font to be used.
|
|
Answer if a line is visible or not line are counted from 0
|
|
Load text buffer with a file
|
|
Loads tokens list for word completions from file, returns a newly constructed list to be assigned to editor with SetTokens(). User is responsible to delete token list when no longer in use. File format : simply a token per line.
|
|
Save buffer to file |
|
Scrolls to a line,column leaving <margin> pixels free |
|
Scrolls to a pointer pos or (default) to current pointer position, leaving <margin> pixels free |
|
Scrolls to a line,column leaving <margin> pixels free |
|
Scrolls to a pointer pos or (default) to current pointer position, leaving <margin> pixels free |
|
Select text from start to end position |
|
Sets object background
Reimplemented from VDKObject. |
|
Sets object font Reimplemented from VDKObject. |
|
Sets object foreground
Reimplemented from VDKObject. |
|
Sets/gets a tokens list to editor
|
|
Inserts text at cursor position.
|
|
Unselect any previous selected text |
|
Sets/gets modified flag |
|
Sets/gets text insertion position expressed in column offset |
|
Gets first visible line (lines are counted from 0) |
|
Gets last visible line (lines are counted from 0) |
|
Sets/gets text insertion position expressed in lines |
|
Sets/gets text insertion position expressed in chars from text beginning. (counting from 0, gets -1 on failure) |