Miscellaneous touchups

Fixes chatbar not handling ctrl+shift+arrow for word selection
lltoolmgr.cpp sync
Removes some pointless dead code from llviewertexteditor.cpp
This commit is contained in:
Inusaito Sayori
2013-10-21 15:15:17 -04:00
parent a33efc61a2
commit d95e1800e1
3 changed files with 20 additions and 28 deletions

View File

@@ -1644,15 +1644,8 @@ LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlF
LLFontGL* font = LLView::selectFont(node);
// std::string text = node->getValue();
std::string text = node->getTextContents().substr(0, max_text_length - 1);
if (text.size() > max_text_length)
{
// Erase everything from max_text_length on.
text.erase(max_text_length);
}
LLViewerTextEditor* text_editor = new LLViewerTextEditor("text_editor",
rect,
max_text_length,