mirror of https://github.com/KLayout/klayout.git
Makes macro editor search feature less jumpy
This commit is contained in:
parent
832d29d2e0
commit
ebb35b1f2b
|
|
@ -2092,7 +2092,6 @@ MacroEditorDialog::search_editing ()
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_search ();
|
apply_search ();
|
||||||
page->find_reset (); // search from the initial position
|
|
||||||
if (! page->has_multi_block_selection ()) {
|
if (! page->has_multi_block_selection ()) {
|
||||||
page->find_next ();
|
page->find_next ();
|
||||||
}
|
}
|
||||||
|
|
@ -2119,7 +2118,6 @@ MacroEditorDialog::search_edited ()
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_search ();
|
apply_search ();
|
||||||
page->find_reset (); // search from the initial position
|
|
||||||
if (! page->has_multi_block_selection ()) {
|
if (! page->has_multi_block_selection ()) {
|
||||||
page->find_next ();
|
page->find_next ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue