diff options
author | hjk <qtc-committer@nokia.com> | 2011-11-01 10:28:19 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-11-01 10:44:16 +0100 |
commit | f73dc6f44414610074a2ab064e07c4249991174a (patch) | |
tree | 71b1728113946504e8e5866cf4bb3d2f8f42820c /src/plugins | |
parent | 85f2571c35a835152824434c8796ac27bbf52887 (diff) | |
download | qt-creator-f73dc6f44414610074a2ab064e07c4249991174a.tar.gz |
fakevim: fix replacement of '\&'
Task-number: QTCREATORBUG-6434
Change-Id: Ic6ec34288733c4aa46cee353acf3920f3b4cf9ce
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fakevim/fakevimhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 96d7d87859..0b99e1c527 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -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) |