summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-01 10:16:13 -0500
committerJonathan Yap <none@none>2012-02-01 10:16:13 -0500
commit4778d82ec6b735d6f3d3a4335496e9b6d804bbf7 (patch)
treee8c978642b19fc3930e826fae42463b4334ab7aa /indra/llui/lllineeditor.cpp
parent4ef9277761b5faee2825177112939b72c563a4ea (diff)
parent8758c7b8415a1cb67c504f142f96b5a7fec296d2 (diff)
STORM-1738 Initial callback work
warn-on-failure:open-license
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r--indra/llui/lllineeditor.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index 06dfc90d83..ba50728e89 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -195,7 +195,6 @@ LLLineEditor::~LLLineEditor()
gFocusMgr.releaseFocusIfNeeded( this );
}
-
void LLLineEditor::onFocusReceived()
{
gEditMenuHandler = this;
@@ -866,6 +865,13 @@ void LLLineEditor::addChar(const llwchar uni_char)
LLUI::reportBadKeystroke();
}
+// *TODO implement callback routine
+ if (!mReadOnly /*&& autocorrectCallbackRoutine != NULL */)
+ {
+ // call callback
+ // autotocorrectCallbackRoutine(mText&, mCursorPos&);
+ }
+
getWindow()->hideCursorUntilMouseMove();
}