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