diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-04-17 16:28:20 +0300 |
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-04-17 16:28:20 +0300 |
| commit | 78450551650fcc58ad316bea1f0688c28ecac7d4 (patch) | |
| tree | 033b79f554335aec821438d51074c3819bf498eb /indra/llui/lllineeditor.cpp | |
| parent | dd9141306bbc671099ce57b6d15cbbed2fcb82e3 (diff) | |
| parent | 59457cfcfe946223c2001fa9d9b66683b988315b (diff) | |
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
| -rw-r--r-- | indra/llui/lllineeditor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index cfab6b7fc8..ff8bf30319 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -499,6 +499,13 @@ void LLLineEditor::setCursorToEnd() deselect(); } +void LLLineEditor::resetScrollPosition() +{ + mScrollHPos = 0; + // make sure cursor says in visible range + setCursor(getCursor()); +} + BOOL LLLineEditor::canDeselect() const { return hasSelection(); |
