forked from qt-creator/qt-creator
fakevim: fix replacement of '\&'
Task-number: QTCREATORBUG-6434 Change-Id: Ic6ec34288733c4aa46cee353acf3920f3b4cf9ce Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -3296,6 +3296,7 @@ bool FakeVimHandler::Private::handleExSubstituteCommand(const ExCommand &cmd)
|
||||
i += caps.at(0).size();
|
||||
}
|
||||
}
|
||||
repl.replace("\\&", "&");
|
||||
text = text.left(pos) + repl + text.mid(pos + matched.size());
|
||||
pos += repl.size();
|
||||
if (!global)
|
||||
|
||||
Reference in New Issue
Block a user