aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lltexteditor.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/llui/lltexteditor.h
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/llui/lltexteditor.h')
-rw-r--r--linden/indra/llui/lltexteditor.h3
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