1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-31 20:52:13 +01:00

Merge branch 'iss2402'

This commit is contained in:
swordmaster2k 2015-02-16 18:51:15 +00:00
commit 9726df4c1f

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) {