[Action.h Index] [Action.h Hierarchy]
Caches text coloring states for a complete text file. More...
#include <StateCache.h>
A cache for saving the states of text elements and their colors for a complete text file.
constructs a StateCache that uses colorizer to detect and mark colored text; edit is the editor widget that contains the text.
this method parses the complete text in the edit Edit
reparses from line row until there are no more changes in the parsing results; returns the index of the last parsed line.
row | to start parsing from. |
inserts a new LineCacheElem at row; its PrevLineEndState will be the same as for the previous LineCacheElem at row.
row, | at which a StateCacheLineElem is inserted. |
removes line row from the LineStateCache
row | to remove from LineStateCache |
prevState | this param can be STATE_INVALID, which sets the PrevLineEndState of |
retrieve a pointer to the LineStateElem at row.
row | desired line. |
| Kdoc |