Comment out auto replace callbacks in fs communications

TODO: Decide whether to back port auto replace to LLLineEditor or move to CHUI style expanding text editors
meow-7.2.2
Cinders 2013-06-29 11:53:43 -06:00
parent 83a366739a
commit c5a0eb3fd8
2 changed files with 6 additions and 2 deletions

View File

@ -770,7 +770,9 @@ BOOL FSFloaterIM::postBuild()
// enable line history support for instant message bar
mInputEditor->setEnableLineHistory(TRUE);
// *TODO Establish LineEditor with autoreplace callback
mInputEditor->setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2, _3, _4, _5));
/// FIXME: Commenting out for now, will either rehook up autoreplace to LLLineEditor or
/// move to CHUI style expanding text editors <FS:CR>
//mInputEditor->setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2, _3, _4, _5));
LLFontGL* font = LLViewerChat::getChatFont();
mInputEditor->setFont(font);

View File

@ -109,7 +109,9 @@ static LLChatTypeTrigger sChatTypeTriggers[] = {
FSNearbyChatControl::FSNearbyChatControl(const FSNearbyChatControl::Params& p) :
LLLineEditor(p)
{
setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2));
/// FIXME: Commenting out for now, will either rehook up autoreplace to LLLineEditor or
/// move to CHUI style expanding text editors <FS:CR>
//setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2));
setKeystrokeCallback(onKeystroke,this);
FSNearbyChat::instance().registerChatBar(this);