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 editorsmeow-7.2.2
parent
83a366739a
commit
c5a0eb3fd8
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue