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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user