NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Cursor, which is used in the TextManager to identify the actual line and position in the m_text variable. The TextManager is able to convert this cursor into a ViewCursor. More...
#include <TextManager.h>
Public Member Functions | |
LogicalCursor () | |
LogicalCursor (size_t nPos, size_t nLine) | |
void | move (size_t _pos, size_t _line) |
void | advance () |
bool | revert () |
bool | operator! () const |
operator bool () const | |
LogicalCursor & | operator++ (int) |
LogicalCursor | operator+ (int n) |
LogicalCursor | operator- (int n) |
bool | operator-- (int) |
bool | operator== (const LogicalCursor &cursor) const |
bool | operator< (const LogicalCursor &cursor) const |
bool | operator<= (const LogicalCursor &cursor) const |
bool | operator> (const LogicalCursor &cursor) const |
bool | operator>= (const LogicalCursor &cursor) const |
bool | operator!= (const LogicalCursor &cursor) const |
Public Attributes | |
size_t | pos |
size_t | line |
bool | isValid |
Cursor, which is used in the TextManager to identify the actual line and position in the m_text variable. The TextManager is able to convert this cursor into a ViewCursor.
Definition at line 37 of file TextManager.h.
|
inline |
Definition at line 43 of file TextManager.h.
|
inline |
Definition at line 44 of file TextManager.h.
|
inline |
|
inline |
Definition at line 45 of file TextManager.h.
|
inline |
Definition at line 65 of file TextManager.h.
References isValid.
|
inline |
Definition at line 61 of file TextManager.h.
References isValid.
|
inline |
Definition at line 110 of file TextManager.h.
References operator==().
|
inline |
Definition at line 74 of file TextManager.h.
References pos.
|
inline |
Definition at line 69 of file TextManager.h.
References advance().
|
inline |
Definition at line 80 of file TextManager.h.
References pos.
|
inline |
Definition at line 86 of file TextManager.h.
References revert().
|
inline |
Definition at line 94 of file TextManager.h.
References isValid, line, and pos.
Referenced by operator<=(), and operator>=().
|
inline |
Definition at line 98 of file TextManager.h.
References operator<(), and operator==().
Referenced by operator>().
|
inline |
Definition at line 90 of file TextManager.h.
References isValid, line, and pos.
Referenced by operator!=(), and operator<=().
|
inline |
Definition at line 102 of file TextManager.h.
References operator<=().
|
inline |
Definition at line 106 of file TextManager.h.
References operator<().
|
inline |
bool LogicalCursor::isValid |
Definition at line 41 of file TextManager.h.
Referenced by operator bool(), operator!(), operator<(), and operator==().
size_t LogicalCursor::line |
Definition at line 40 of file TextManager.h.
Referenced by TextManager::backspace(), TextManager::clearRange(), TextManager::GetCharLogical(), TextManager::GetColorAdjusted(), TextManager::getRenderedColors(), TextManager::GetTextRange(), TextManager::GetWordAt(), TextManager::GetWordStartAt(), TextManager::IsEditable(), TextManager::IsEditableLogical(), TextManager::isSelectedLogical(), TextManager::IsUserText(), move(), operator<(), operator==(), TextManager::Resize(), GenericTerminal::ResizeTerminal(), TextManager::selectText(), TextManager::SetColorAdjusted(), and TextManager::toViewCursor().
size_t LogicalCursor::pos |
Definition at line 39 of file TextManager.h.
Referenced by advance(), TextManager::backspace(), TextManager::clearRange(), GenericTerminal::cursor_down(), GenericTerminal::cursor_up(), GenericTerminal::delSelected(), GenericTerminal::erase_usercontent_line(), TextManager::GetCharLogical(), TextManager::GetColorAdjusted(), TextManager::getRenderedColors(), TextManager::GetTextRange(), TextManager::GetWordAt(), TextManager::GetWordStartAt(), TextManager::IsEditable(), TextManager::IsEditableLogical(), TextManager::isSelectedLogical(), TextManager::IsUserText(), move(), GenericTerminal::normal_input(), operator+(), operator-(), operator<(), operator==(), TextManager::renderLayout(), TextManager::Resize(), GenericTerminal::ResizeTerminal(), revert(), TextManager::selectText(), TextManager::SetColorAdjusted(), and TextManager::toViewCursor().