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