a list of textscopes This class is used for single-line scopes (Todo, this needs to be optimized)
More...
#include <textdocumentscopes.h>
a list of textscopes This class is used for single-line scopes (Todo, this needs to be optimized)
◆ ScopedTextRangeList()
edbee::ScopedTextRangeList::ScopedTextRangeList |
( |
| ) |
|
|
explicit |
◆ ~ScopedTextRangeList()
edbee::ScopedTextRangeList::~ScopedTextRangeList |
( |
| ) |
|
|
virtual |
◆ at()
Returns the scoped textrange at the given list.
◆ giveAndPrependRange()
void edbee::ScopedTextRangeList::giveAndPrependRange |
( |
ScopedTextRange * |
range | ) |
|
Prepends a range.
- Parameters
-
range | the range to prepend |
◆ giveRange()
give a rnage to the range set
- Parameters
-
range | the scoped text range |
◆ isIndependent()
bool edbee::ScopedTextRangeList::isIndependent |
( |
| ) |
const |
returns the independent flag
◆ setIndependent()
void edbee::ScopedTextRangeList::setIndependent |
( |
bool |
enable = true | ) |
|
set the independent flag. The independent flag means it's not dependent on other lines
◆ size()
int edbee::ScopedTextRangeList::size |
( |
| ) |
const |
Retursn the number of scoped textranges in the list.
◆ squeeze()
void edbee::ScopedTextRangeList::squeeze |
( |
| ) |
|
Squeezes the ranges (reduces the memory usage)
◆ toString()
QString edbee::ScopedTextRangeList::toString |
( |
| ) |
|
Converts the scoped textrange list to a strubg.
The documentation for this class was generated from the following files: