diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/lllineeditor.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/llui/lllineeditor.h b/linden/indra/llui/lllineeditor.h index 11cbcd9..b11f8b9 100644 --- a/linden/indra/llui/lllineeditor.h +++ b/linden/indra/llui/lllineeditor.h | |||
@@ -89,6 +89,7 @@ public: | |||
89 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); | 89 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); |
90 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); | 90 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); |
91 | /*virtual*/ BOOL handleDoubleClick(S32 x,S32 y,MASK mask); | 91 | /*virtual*/ BOOL handleDoubleClick(S32 x,S32 y,MASK mask); |
92 | /*virtual*/ BOOL handleMiddleMouseDown(S32 x,S32 y,MASK mask); | ||
92 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask ); | 93 | /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask ); |
93 | /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char); | 94 | /*virtual*/ BOOL handleUnicodeCharHere(llwchar uni_char); |
94 | /*virtual*/ void onMouseCaptureLost(); | 95 | /*virtual*/ void onMouseCaptureLost(); |
@@ -96,13 +97,16 @@ public: | |||
96 | // LLEditMenuHandler overrides | 97 | // LLEditMenuHandler overrides |
97 | virtual void cut(); | 98 | virtual void cut(); |
98 | virtual BOOL canCut() const; | 99 | virtual BOOL canCut() const; |
99 | |||
100 | virtual void copy(); | 100 | virtual void copy(); |
101 | virtual BOOL canCopy() const; | 101 | virtual BOOL canCopy() const; |
102 | |||
103 | virtual void paste(); | 102 | virtual void paste(); |
104 | virtual BOOL canPaste() const; | 103 | virtual BOOL canPaste() const; |
105 | 104 | ||
105 | virtual void updatePrimary(); | ||
106 | virtual void copyPrimary(); | ||
107 | virtual void pastePrimary(); | ||
108 | virtual BOOL canPastePrimary() const; | ||
109 | |||
106 | virtual void doDelete(); | 110 | virtual void doDelete(); |
107 | virtual BOOL canDoDelete() const; | 111 | virtual BOOL canDoDelete() const; |
108 | 112 | ||
@@ -219,6 +223,9 @@ public: | |||
219 | 223 | ||
220 | private: | 224 | private: |
221 | // private helper methods | 225 | // private helper methods |
226 | |||
227 | void pasteHelper(bool is_primary); | ||
228 | |||
222 | void removeChar(); | 229 | void removeChar(); |
223 | void addChar(const llwchar c); | 230 | void addChar(const llwchar c); |
224 | void setCursorAtLocalPos(S32 local_mouse_x); | 231 | void setCursorAtLocalPos(S32 local_mouse_x); |