Merge branch 'iss2402'

This commit is contained in:
swordmaster2k 2015-02-16 18:51:15 +00:00
commit 9726df4c1f
1 changed files with 3 additions and 2 deletions

View File

@ -421,8 +421,9 @@ public class FindReplace extends JFrame implements ActionListener {
public void replaceAll() {
if (findField.getText().length() == 0)
return;
// move to the beginning
editor.setSelection(0, 0);
editor.getSketch().setCurrentCode(0); // select the first tab
editor.setSelection(0, 0); // move to the beginning
boolean foundAtLeastOne = false;
while (true) {