mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Took into account the fact that the user can choose to select search
all files. Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
This commit is contained in:
parent
9726df4c1f
commit
1d266d89cd
@ -422,7 +422,9 @@ public class FindReplace extends JFrame implements ActionListener {
|
||||
if (findField.getText().length() == 0)
|
||||
return;
|
||||
|
||||
editor.getSketch().setCurrentCode(0); // select the first tab
|
||||
if (searchAllFiles)
|
||||
editor.getSketch().setCurrentCode(0); // select the first tab
|
||||
|
||||
editor.setSelection(0, 0); // move to the beginning
|
||||
|
||||
boolean foundAtLeastOne = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user