int xpos(int offset)
Definition textcaretcache.cpp:54
void caretMovedFromOldOffsetToNewOffset(int oldOffset, int newOffset)
This method should be called if the caret moves.
Definition textcaretcache.cpp:86
TextCaretCache(TextDocument *doc, TextRenderer *renderer)
The text document cache.
Definition textcaretcache.cpp:18
void replaceAll(TextCaretCache &cache)
This method replaces all cached content with the one given.
Definition textcaretcache.cpp:46
void fill(TextRangeSet &selection)
Definition textcaretcache.cpp:31
void dump()
Definition textcaretcache.cpp:103
void clear()
Definition textcaretcache.cpp:25
bool isFilled()
This method checks if the cache is filled.
Definition textcaretcache.cpp:98
This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition textdocument.h:42
The basic textrange class. A simple class of textrange with a simple vector implementation.
Definition textrange.h:202
A class for rendering the text.
Definition textrenderer.h:35