mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
commit
015f952f71
@ -421,8 +421,11 @@ public class FindReplace extends JFrame implements ActionListener {
|
||||
public void replaceAll() {
|
||||
if (findField.getText().length() == 0)
|
||||
return;
|
||||
// move to the beginning
|
||||
editor.setSelection(0, 0);
|
||||
|
||||
if (searchAllFiles)
|
||||
editor.getSketch().setCurrentCode(0); // select the first tab
|
||||
|
||||
editor.setSelection(0, 0); // move to the beginning
|
||||
|
||||
boolean foundAtLeastOne = false;
|
||||
while (true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user