|
wxMaxima
|
The between-the-cells cursor: active flag, position, selection anchors. More...
#include <WorksheetCursor.h>
Public Member Functions | |
| bool | IsActive () const |
| Is this (rather than the in-cell text cursor) the active cursor? | |
| void | Activate () |
| Make this the active cursor. The caller deactivates the editor cursor. | |
| void | Deactivate () |
| Deactivate; the position is kept for a later re-activation. | |
| GroupCell * | Position () const |
| The group cell the cursor sits below; null = above the first cell. | |
| void | SetPosition (GroupCell *where) |
| Move the cursor below the given group cell (null = document start). | |
| GroupCell * | SelectionStart () const |
| Where a select-with-the-caret gesture started. | |
| GroupCell * | SelectionEnd () const |
| Where a select-with-the-caret gesture currently ends. | |
| void | SetSelectionStart (GroupCell *start) |
| void | SetSelectionEnd (GroupCell *end) |
| void | SetSelectionAnchors (GroupCell *start, GroupCell *end) |
| Set both ends of the select-with-the-caret gesture at once. | |
| void | ClearSelectionAnchors () |
| Forget the select-with-the-caret gesture. | |
The between-the-cells cursor: active flag, position, selection anchors.
|
inline |
The group cell the cursor sits below; null = above the first cell.
Auto-nulls when the cell dies (the storage is a CellPtr).
|
inline |
Where a select-with-the-caret gesture started.
This is where the selection was begun, so it need not be above SelectionEnd() in the worksheet.