Do not push jump on search next

This commit is contained in:
Maxime Coste 2013-09-27 19:26:52 +01:00
parent 560e3397e8
commit c312b06e39

View File

@ -344,8 +344,6 @@ void search_next(Context& context)
try try
{ {
Regex ex{str}; Regex ex{str};
if (mode == SelectMode::Replace)
context.push_jump();
int count = context.numeric_param(); int count = context.numeric_param();
do { do {
context.editor().select(std::bind(select_next_match<direction>, _1, _2, ex), mode); context.editor().select(std::bind(select_next_match<direction>, _1, _2, ex), mode);