wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
WorksheetCursor Class Reference

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.
 
GroupCellPosition () 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).
 
GroupCellSelectionStart () const
 Where a select-with-the-caret gesture started.
 
GroupCellSelectionEnd () 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.
 

Detailed Description

The between-the-cells cursor: active flag, position, selection anchors.

Member Function Documentation

◆ Position()

GroupCell * WorksheetCursor::Position ( ) const
inline

The group cell the cursor sits below; null = above the first cell.

Auto-nulls when the cell dies (the storage is a CellPtr).

◆ SelectionStart()

GroupCell * WorksheetCursor::SelectionStart ( ) const
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.


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