Mercurial > vim
comparison src/gui.c @ 4805:66803af09906 v7.3.1149
updated for version 7.3.1149
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 08 Jun 2013 18:19:48 +0200 |
parents | 04736b4030ec |
children | c4d4f0fc12b9 |
comparison
equal
deleted
inserted
replaced
4804:62663cfeb216 | 4805:66803af09906 |
---|---|
5317 ins_str(repl_text); | 5317 ins_str(repl_text); |
5318 } | 5318 } |
5319 } | 5319 } |
5320 else | 5320 else |
5321 MSG(_("No match at cursor, finding next")); | 5321 MSG(_("No match at cursor, finding next")); |
5322 vim_free(regmatch.regprog); | 5322 vim_regfree(regmatch.regprog); |
5323 } | 5323 } |
5324 } | 5324 } |
5325 | 5325 |
5326 if (type == FRD_REPLACEALL) | 5326 if (type == FRD_REPLACEALL) |
5327 { | 5327 { |