wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
DocumentCellPointers::TextRange Struct Reference

Characters selected in a run of text cells (GH #825) More...

#include <CellPointers.h>

Collaboration diagram for DocumentCellPointers::TextRange:
[legend]

Public Member Functions

bool operator== (const TextRange &) const =default
 

Data Fields

Cell * first = nullptr
 
std::size_t from = 0
 
Cell * last = nullptr
 
std::size_t to = 0
 

Detailed Description

Characters selected in a run of text cells (GH #825)

first and last are the first and last cell of the run, in the order they are drawn; from is the character position in first the selection starts at, to the one in last it ends at (see TextCell::CharacterIndexAt()). Cells in between are selected as a whole.


The documentation for this struct was generated from the following file: