MCPcopy Create free account
hub / github.com/MyGUI/mygui / clearTagColour

Method clearTagColour

MyGUIEngine/src/MyGUI_TextIterator.cpp:572–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570 }
571
572 void TextIterator::clearTagColour()
573 {
574 if (mCurrent == mEnd)
575 return;
576
577 UString::utf32string::iterator iter = mCurrent;
578 UString colour;
579 // нам нужен последний цвет
580 while (getTagColour(colour, iter))
581 {
582 // обязательно обновляем итераторы
583 iter = mCurrent = erase(mCurrent, iter);
584 mEnd = mText.end();
585 }
586 }
587
588 size_t TextIterator::getPosition() const
589 {

Callers 1

_setTextColourMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected