Workspace 6.21.5
|
#include <Tools/Widgets/highlightingtextedit.h>
Inherits QTextBlockUserData.
Public Member Functions | |
BlockData (bool isGhost) | |
void | addInnerSelection (int start, int count) |
void | addInsertionPoint (int column) |
void | addOuterSelection (int start, int count) |
void | clearSelections () |
void | setEmptyBlockSelectedMarker (bool isSelected) |
Public Attributes | |
bool | emptyBlockSelected_ {false} |
QVector< StringFragment > | innerSelections_ |
QVector< int > | insertionPoints_ |
bool | isGhost_ {false} |
QVector< StringFragment > | outerSelections_ |
Holds data about whether the block is real or ghost, and any highlighted insertion points An inner selection means the selection is wholly contained within a line, an outer carries over multiple lines. Distinguish between them if you want to highlight them differently
|
inline |
void addInnerSelection | ( | int | start, |
int | count | ||
) |
void addInsertionPoint | ( | int | column | ) |
void addOuterSelection | ( | int | start, |
int | count | ||
) |
|
inline |
void setEmptyBlockSelectedMarker | ( | bool | isSelected | ) |
bool emptyBlockSelected_ {false} |
QVector<StringFragment> innerSelections_ |
QVector<int> insertionPoints_ |
bool isGhost_ {false} |
QVector<StringFragment> outerSelections_ |