wxMaxima
|
The storage for pointers to cells. More...
#include <CellPointers.h>
Data Structures | |
class | ErrorList |
A list of editor cells containing error messages. More... | |
Public Member Functions | |
void | ScrollToCell (Cell *cell) |
Cell * | CellToScrollTo () |
CellPointers (wxScrolledCanvas *worksheet) | |
GroupCell * | GetWorkingGroup (bool resortToLast=false) const |
Returns the cell maxima currently works on. | |
void | SetWorkingGroup (GroupCell *group) |
Sets the cell maxima currently works on. NULL if there isn't such a cell. | |
void | WXMXResetCounter () |
wxString | WXMXGetNewFileName () |
std::size_t | WXMXImageCount () const |
bool | HasCellsSelected () const |
void | ResetSearchStart () |
Forget where the search was started. | |
void | ResetMouseSelectionStart () |
Forget where the mouse selection was started. | |
void | ResetKeyboardSelectionStart () |
Forget where the keyboard selection was started. | |
void | SetTimerIdForCell (Cell *cell, int timerId) |
int | GetTimerIdForCell (Cell *cell) const |
Cell * | GetCellForTimerId (int timerId) const |
void | RemoveTimerIdForCell (const Cell *const cell) |
wxScrolledCanvas * | GetWorksheet () |
Data Fields | |
ErrorList | m_errorList |
The list of cells maxima has complained about errors in. | |
CellPtr< EditorCell > | m_cellMouseSelectionStartedIn |
The EditorCell the mouse selection has started in. | |
CellPtr< EditorCell > | m_cellKeyboardSelectionStartedIn |
The EditorCell the keyboard selection has started in. | |
CellPtr< EditorCell > | m_cellSearchStartedIn |
The EditorCell the search was started in. | |
int | m_indexSearchStartedAt = -1 |
Which cursor position incremental search has started at? | |
CellPtr< EditorCell > | m_activeCell |
Which EditCell the blinking cursor is in? | |
CellPtr< GroupCell > | m_groupCellUnderPointer |
The GroupCell that is under the mouse pointer. | |
CellPtr< EditorCell > | m_answerCell |
The EditorCell that contains the currently active question from maxima. | |
CellPtr< GroupCell > | m_lastWorkingGroup |
The last group cell maxima was working on. | |
CellPtr< TextCell > | m_currentTextCell |
The textcell the text maxima is sending us was ending in. | |
CellPtr< GroupCell > | m_workingGroup |
The group cell maxima is currently working on. | |
wxString | m_selectionString |
The currently selected string. | |
CellPtr< Cell > | m_selectionStart |
The first cell of the currently selected range of Cells. | |
CellPtr< Cell > | m_cellUnderPointer |
The last cell of the currently selected range of groupCells. | |
CellPtr< Cell > | m_selectionEnd |
The last cell of the currently selected range of Cells. | |
bool | m_scrollToCell = false |
Is scrolling to a cell scheduled? | |
The storage for pointers to cells.
If a cell is deleted it is necessary to remove all pointers that might allow to access the now-defunct cell. These pointers are kept in this per-worksheet structure.
GroupCell * CellPointers::GetWorkingGroup | ( | bool | resortToLast = false | ) | const |
Returns the cell maxima currently works on.
NULL if there isn't such a cell.
resortToLast | true = if we already have set the cell maxima works on to NULL use the last cell maxima was known to work on. |
The last cell of the currently selected range of groupCells.
NULL, when no GroupCells are selected and NULL, if only stuff inside a GroupCell is selected and therefore the selection is handled by EditorCell; This cell is always below m_selectionStart.
See also m_hCaretPositionEnd The cell currently under the mouse pointer
The last cell of the currently selected range of Cells.
NULL, when no Cells are selected and NULL, if only stuff inside a EditorCell is selected and therefore the selection is handled by EditorCell; This cell is always above m_selectionEnd.
See also m_hCaretPositionStart, m_hCaretPositionEnd and m_selectionStart.
The first cell of the currently selected range of Cells.
NULL, when no Cells are selected and NULL, if only stuff inside a EditorCell is selected and therefore the selection is handled by EditorCell; This cell is always above m_selectionEnd.
See also m_hCaretPositionStart and m_selectionEnd
wxString CellPointers::m_selectionString |
The currently selected string.
Since this string is defined here it is available in every editor cell for highlighting other instances of the selected string.
The group cell maxima is currently working on.
NULL means that maxima isn't currently evaluating a cell.