mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-31 20:52:13 +01:00
Fixed bug introduced by #2402. Began replace all search from the first tab.
Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
This commit is contained in:
parent
00941453db
commit
87989a2d7b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user