Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d266d8

Browse files
Took into account the fact that the user can choose to select search
all files. Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
1 parent 9726df4 commit 1d266d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎app/src/processing/app/FindReplace.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,9 @@ public void replaceAll() {
422422
if (findField.getText().length() == 0)
423423
return;
424424

425-
editor.getSketch().setCurrentCode(0); // select the first tab
425+
if (searchAllFiles)
426+
editor.getSketch().setCurrentCode(0); // select the first tab
427+
426428
editor.setSelection(0, 0); // move to the beginning
427429

428430
boolean foundAtLeastOne = false;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /