mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
ide: Fixed issue with recenetly optimized block replace
git-svn-id: svn://ultimatepp.org/upp/trunk@6439 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
85c1312103
commit
9f168e13d4
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ int CodeEditor::BlockReplace(WString find, WString replace, bool wholeword, bool
|
|||
Remove(foundpos, foundsize);
|
||||
WString rt = GetReplaceText(replace, wildcards, ignorecase && samecase);
|
||||
Insert(foundpos, rt);
|
||||
foundpos += rt.GetCount();
|
||||
h = h - foundsize + rt.GetCount();
|
||||
count++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue