MyGUI 3.4.1
|
#include <MyGUI_TextIterator.h>
Public Member Functions | |
TextIterator (const UString &_text, VectorChangeInfo *_history=nullptr) | |
bool | moveNext () |
bool | getTagColour (UString &_colour) const |
void | clearTagColour () |
bool | setTagColour (const Colour &_colour) |
bool | setTagColour (const UString &_colour) |
bool | saveStartPoint () |
UString | getFromStart () const |
bool | eraseFromStart () |
size_t | getPosition () const |
UString | getText () const |
void | insertText (const UString &_insert, bool _multiLine) |
void | clearNewLine (UString &_text) |
void | clearText () |
size_t | getSize () const |
void | setText (const UString &_text, bool _multiLine) |
void | cutMaxLength (size_t _max) |
void | cutMaxLengthFromBeginning (size_t _max) |
Static Public Member Functions | |
static UString | getOnlyText (const UString &_text) |
static UString | getTextNewLine () |
static UString | getTextCharInfo (Char _char) |
static UString | convertTagColour (const Colour &_colour) |
static UString | toTagsString (const UString &_text) |
Definition at line 18 of file MyGUI_TextIterator.h.
MyGUI::TextIterator::TextIterator | ( | const UString & | _text, |
VectorChangeInfo * | _history = nullptr |
||
) |
Definition at line 21 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::clearNewLine | ( | UString & | _text | ) |
Definition at line 272 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::clearTagColour | ( | ) |
Definition at line 530 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::clearText | ( | ) |
Definition at line 555 of file MyGUI_TextIterator.cpp.
Definition at line 345 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::cutMaxLength | ( | size_t | _max | ) |
Definition at line 412 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::cutMaxLengthFromBeginning | ( | size_t | _max | ) |
Definition at line 466 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::eraseFromStart | ( | ) |
Definition at line 300 of file MyGUI_TextIterator.cpp.
UString MyGUI::TextIterator::getFromStart | ( | ) | const |
Definition at line 293 of file MyGUI_TextIterator.cpp.
Definition at line 205 of file MyGUI_TextIterator.cpp.
size_t MyGUI::TextIterator::getPosition | ( | ) | const |
Definition at line 545 of file MyGUI_TextIterator.cpp.
size_t MyGUI::TextIterator::getSize | ( | ) | const |
Definition at line 166 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::getTagColour | ( | UString & | _colour | ) | const |
Definition at line 110 of file MyGUI_TextIterator.cpp.
UString MyGUI::TextIterator::getText | ( | ) | const |
Definition at line 550 of file MyGUI_TextIterator.cpp.
Definition at line 337 of file MyGUI_TextIterator.cpp.
|
static |
Definition at line 560 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::insertText | ( | const UString & | _insert, |
bool | _multiLine | ||
) |
Definition at line 308 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::moveNext | ( | ) |
Definition at line 33 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::saveStartPoint | ( | ) |
Definition at line 286 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::setTagColour | ( | const Colour & | _colour | ) |
Definition at line 126 of file MyGUI_TextIterator.cpp.
bool MyGUI::TextIterator::setTagColour | ( | const UString & | _colour | ) |
Definition at line 160 of file MyGUI_TextIterator.cpp.
void MyGUI::TextIterator::setText | ( | const UString & | _text, |
bool | _multiLine | ||
) |
Definition at line 320 of file MyGUI_TextIterator.cpp.
Definition at line 358 of file MyGUI_TextIterator.cpp.