(svn r25692) -Add: Replacement of a part of the edit box text with a new string.

This commit is contained in:
michi_cc
2013-08-05 20:37:57 +00:00
parent e34fe220e2
commit 164aba8732
6 changed files with 61 additions and 40 deletions

View File

@@ -311,9 +311,9 @@ struct IConsoleWindow : Window
return ES_HANDLED;
}
virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret)
virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret, const char *insert_location, const char *replacement_end)
{
if (_iconsole_cmdline.InsertString(str, marked, caret)) {
if (_iconsole_cmdline.InsertString(str, marked, caret, insert_location, replacement_end)) {
IConsoleWindow::scroll = 0;
IConsoleResetHistoryPos();
this->SetDirty();