A special cache. For remembering the x-coordinates of the carets.
More...
#include <textcaretcache.h>
A special cache. For remembering the x-coordinates of the carets.
◆ TextCaretCache()
◆ add() [1/2]
void edbee::TextCaretCache::add |
( |
int |
offset, |
|
|
int |
xpos |
|
) |
| |
Adds an xposition for the given offset.
◆ add() [2/2]
void edbee::TextCaretCache::add |
( |
int |
offset | ) |
|
Adds the given offset by calculating the position.
◆ caretMovedFromOldOffsetToNewOffset()
void edbee::TextCaretCache::caretMovedFromOldOffsetToNewOffset |
( |
int |
oldOffset, |
|
|
int |
newOffset |
|
) |
| |
This method should be called if the caret moves from th.
◆ clear()
void edbee::TextCaretCache::clear |
( |
| ) |
|
◆ dump()
void edbee::TextCaretCache::dump |
( |
| ) |
|
◆ fill()
void edbee::TextCaretCache::fill |
( |
TextRangeSet & |
selection | ) |
|
◆ isFilled()
bool edbee::TextCaretCache::isFilled |
( |
| ) |
|
This method checks if the cache is filled.
◆ replaceAll()
This method replaces all cached content with the one given.
◆ xpos()
int edbee::TextCaretCache::xpos |
( |
int |
offset | ) |
|
The documentation for this class was generated from the following files: