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 9726df4

Browse files
Merge branch 'iss2402'
2 parents 804112a + 87989a2 commit 9726df4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,9 @@ public void replaceAndFindNext() {
421421
public void replaceAll() {
422422
if (findField.getText().length() == 0)
423423
return;
424-
// move to the beginning
425-
editor.setSelection(0, 0);
424+
425+
editor.getSketch().setCurrentCode(0); // select the first tab
426+
editor.setSelection(0, 0); // move to the beginning
426427

427428
boolean foundAtLeastOne = false;
428429
while (true) {

0 commit comments

Comments
(0)

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