aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lllineeditor.h')
-rw-r--r--linden/indra/llui/lllineeditor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llui/lllineeditor.h b/linden/indra/llui/lllineeditor.h
index 5ff2de7..04c53b4 100644
--- a/linden/indra/llui/lllineeditor.h
+++ b/linden/indra/llui/lllineeditor.h
@@ -127,7 +127,8 @@ public:
127 virtual void setRect(const LLRect& rect); 127 virtual void setRect(const LLRect& rect);
128 virtual BOOL acceptsTextInput() const; 128 virtual BOOL acceptsTextInput() const;
129 virtual void onCommit(); 129 virtual void onCommit();
130 virtual BOOL isDirty() { return ( mText.getString() != mPrevText ); }; // Returns TRUE if the user has changed value at all 130 virtual BOOL isDirty() const; // Returns TRUE if the user has changed value at all
131 virtual void resetDirty(); // Clear dirty state
131 132
132 // assumes UTF8 text 133 // assumes UTF8 text
133 virtual void setValue(const LLSD& value ); 134 virtual void setValue(const LLSD& value );
@@ -257,6 +258,8 @@ protected:
257 S32 mSelectionEnd; 258 S32 mSelectionEnd;
258 S32 mLastSelectionX; 259 S32 mLastSelectionX;
259 S32 mLastSelectionY; 260 S32 mLastSelectionY;
261 S32 mLastSelectionStart;
262 S32 mLastSelectionEnd;
260 263
261 S32 (*mPrevalidateFunc)(const LLWString &str); 264 S32 (*mPrevalidateFunc)(const LLWString &str);
262 265