mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03: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:
@ -422,7 +422,9 @@ public class FindReplace extends JFrame implements ActionListener {
|
|||||||
if (findField.getText().length() == 0)
|
if (findField.getText().length() == 0)
|
||||||
return;
|
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
|
editor.setSelection(0, 0); // move to the beginning
|
||||||
|
|
||||||
boolean foundAtLeastOne = false;
|
boolean foundAtLeastOne = false;
|
||||||
|
Reference in New Issue
Block a user