mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[escher/layout_field] Add a comment
This commit is contained in:
committed by
LeaNumworks
parent
213d80002c
commit
884e53f75d
@@ -101,6 +101,14 @@ private:
|
||||
void useInsertionCursor();
|
||||
KDRect selectionRect() const;
|
||||
Poincare::LayoutCursor m_cursor;
|
||||
/* The insertion cursor is a secondary cursor that determines where text
|
||||
* should be inserted. Most of the time this cursor is useless (and is
|
||||
* therefore disabled), but in an interface where the user can navigate out
|
||||
* of the field, it's important to keep track of where inserted text should
|
||||
* go even if the main cursor was moved.
|
||||
* For instance, this is useful in the Calculation app when the user wants
|
||||
* to type a division and scroll up the history to insert something at the
|
||||
* denominator. */
|
||||
Poincare::LayoutCursor m_insertionCursor;
|
||||
ExpressionView m_expressionView;
|
||||
TextCursorView m_cursorView;
|
||||
|
||||
Reference in New Issue
Block a user