diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/lltexteditor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llui/lltexteditor.h b/linden/indra/llui/lltexteditor.h index 32375be..ebe8ac3 100644 --- a/linden/indra/llui/lltexteditor.h +++ b/linden/indra/llui/lltexteditor.h | |||
@@ -159,7 +159,7 @@ public: | |||
159 | // if styled text starts a line, you need to prepend a newline. | 159 | // if styled text starts a line, you need to prepend a newline. |
160 | void appendStyledText(const LLString &new_text, bool allow_undo, | 160 | void appendStyledText(const LLString &new_text, bool allow_undo, |
161 | bool prepend_newline, | 161 | bool prepend_newline, |
162 | const LLStyle &style); | 162 | const LLStyle* style); |
163 | 163 | ||
164 | // Removes text from the end of document | 164 | // Removes text from the end of document |
165 | // Does not change highlight or cursor position. | 165 | // Does not change highlight or cursor position. |
@@ -359,6 +359,7 @@ protected: | |||
359 | undo_stack_t mUndoStack; | 359 | undo_stack_t mUndoStack; |
360 | 360 | ||
361 | S32 mCursorPos; // I-beam is just after the mCursorPos-th character. | 361 | S32 mCursorPos; // I-beam is just after the mCursorPos-th character. |
362 | S32 mDesiredXPixel; // X pixel position where the user wants the cursor to be | ||
362 | LLRect mTextRect; // The rect in which text is drawn. Excludes borders. | 363 | LLRect mTextRect; // The rect in which text is drawn. Excludes borders. |
363 | // List of offsets and segment index of the start of each line. Always has at least one node (0). | 364 | // List of offsets and segment index of the start of each line. Always has at least one node (0). |
364 | struct line_info | 365 | struct line_info |