MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getCharacterCount

Method getCharacterCount

src/eepp/graphics/richtext.cpp:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118Int64 RichText::getCharacterCount() const {
119 const_cast<RichText*>( this )->updateLayout();
120 return mTotalCharacterCount;
121}
122
123Int64 RichText::findCharacterFromPos( const Vector2i& pos ) const {
124 const_cast<RichText*>( this )->updateLayout();

Callers 2

setTextSelectionRangeMethod · 0.80
UTESTFunction · 0.80

Calls 1

updateLayoutMethod · 0.45

Tested by 1

UTESTFunction · 0.64