 |
wxMaxima
|
24 #ifndef WXMAXIMA_CELLPOINTERS_H
25 #define WXMAXIMA_CELLPOINTERS_H
28 #include <wx/string.h>
47 void ScrollToCell(
Cell *cell) { m_cellToScrollTo = cell; }
48 Cell *CellToScrollTo() {
return m_cellToScrollTo; }
60 void WXMXResetCounter() { m_wxmxImgCounter = 0; }
62 wxString WXMXGetNewFileName();
64 int WXMXImageCount()
const {
return m_wxmxImgCounter; }
74 bool Empty()
const {
return m_errors.empty(); }
86 void Clear() { m_errors.clear(); }
89 std::vector<CellPtr<GroupCell>> m_errors;
170 void SetTimerIdForCell(
Cell *cell,
int timerId);
171 int GetTimerIdForCell(
Cell *cell)
const;
172 Cell *GetCellForTimerId(
int timerId)
const;
173 void RemoveTimerIdForCell(
Cell *cell);
181 CellTimerId() =
default;
182 CellTimerId(
Cell *cell,
int timerId) : cell(cell), timerId(timerId) {}
185 std::vector<CellTimerId> m_timerIds;
191 int m_wxmxImgCounter = 0;
CellPtr< EditorCell > m_cellMouseSelectionStartedIn
The EditorCell the mouse selection has started in.
Definition: CellPointers.h:95
bool m_scrollToCell
Is scrolling to a cell scheduled?
Definition: CellPointers.h:194
CellPtr< GroupCell > m_groupCellUnderPointer
The GroupCell that is under the mouse pointer.
Definition: CellPointers.h:105
void ResetSearchStart()
Forget where the search was started.
Definition: CellPointers.h:125
Definition: TextCell.h:36
GroupCell * GetWorkingGroup(bool resortToLast=false) const
Definition: CellPointers.cpp:100
CellPtr< EditorCell > m_activeCell
Which EditCell the blinking cursor is in?
Definition: CellPointers.h:103
CellPtr< GroupCell > m_workingGroup
Definition: CellPointers.h:116
int m_indexSearchStartedAt
Which cursor position incremental search has started at?
Definition: CellPointers.h:101
void Clear()
Empty the list of GroupCells with errors.
Definition: CellPointers.h:86
CellPtr< Cell > m_selectionStart
Definition: CellPointers.h:147
CellPtr< GroupCell > m_lastWorkingGroup
The last group cell maxima was working on.
Definition: CellPointers.h:109
wxString m_selectionString
Definition: CellPointers.h:122
CellPtr< Cell > m_selectionEnd
Definition: CellPointers.h:168
GroupCell * FirstError() const
The first GroupCell with error that is still in the list.
Definition: CellPointers.cpp:103
Definition: EditorCell.h:57
bool Empty() const
Is the list of errors empty?
Definition: CellPointers.h:74
Definition: CellPointers.h:44
CellPtr< TextCell > m_currentTextCell
The textcell the text maxima is sending us was ending in.
Definition: CellPointers.h:111
CellPtr< Cell > m_cellUnderPointer
The cell currently under the mouse pointer.
Definition: CellPointers.h:158
CellPtr< EditorCell > m_cellSearchStartedIn
The EditorCell the search was started in.
Definition: CellPointers.h:99
bool Contains(GroupCell *cell) const
Does the list of GroupCell with errors contain cell?
Definition: CellPointers.cpp:85
void ResetKeyboardSelectionStart()
Forget where the keyboard selection was started.
Definition: CellPointers.h:136
void Add(GroupCell *cell)
Mark this GroupCell as containing errors.
Definition: CellPointers.cpp:90
CellPtr< EditorCell > m_answerCell
The EditorCell that contains the currently active question from maxima.
Definition: CellPointers.h:107
GroupCell * LastError() const
The last GroupCell with errors in the list.
Definition: CellPointers.cpp:106
void Remove(GroupCell *cell)
Remove one specific GroupCell from the list of errors.
Definition: CellPointers.cpp:80
Definition: GroupCell.h:68
void ResetMouseSelectionStart()
Forget where the mouse selection was started.
Definition: CellPointers.h:132
CellPtr< EditorCell > m_cellKeyboardSelectionStartedIn
The EditorCell the keyboard selection has started in.
Definition: CellPointers.h:97
void SetWorkingGroup(GroupCell *group)
Sets the cell maxima currently works on. NULL if there isn't such a cell.
Definition: CellPointers.cpp:93
A list of editor cells containing error messages.
Definition: CellPointers.h:69
ErrorList m_errorList
The list of cells maxima has complained about errors in.
Definition: CellPointers.h:93