I need less unstaged code

Here's pieces of the WIP offline->IM->online fix
This commit is contained in:
Lirusaito
2019-02-15 19:33:22 -05:00
parent 1c9fcbb387
commit 0269affb69
4 changed files with 24 additions and 13 deletions

View File

@@ -295,6 +295,7 @@ public:
llwchar getWChar(S32 pos) const { return mWText[pos]; }
LLWString getWSubString(S32 pos, S32 len) const { return mWText.substr(pos, len); }
const LLTextSegment* getLastSegment() const { return mSegments.empty() ? nullptr : mSegments.back(); }
const LLTextSegment* getCurrentSegment() const { return getSegmentAtOffset(mCursorPos); }
const LLTextSegment* getPreviousSegment() const;
void getSelectedSegments(std::vector<LLTextSegmentPtr>& segments) const;