(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.

This commit is contained in:
michi_cc
2013-08-05 20:37:06 +00:00
parent 07cd393f7e
commit 1880c36405
14 changed files with 118 additions and 35 deletions

View File

@@ -308,6 +308,15 @@ struct IConsoleWindow : Window
return ES_HANDLED;
}
virtual void InsertTextString(int wid, const char *str)
{
if (_iconsole_cmdline.InsertString(str)) {
IConsoleWindow::scroll = 0;
IConsoleResetHistoryPos();
this->SetDirty();
}
}
virtual void OnMouseWheel(int wheel)
{
this->Scroll(-wheel);