mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
more work on saving sketches, fixing up PdeEditorListener for prefs
This commit is contained in:
@@ -121,7 +121,7 @@ public class PdeEditorFind extends JFrame implements ActionListener {
|
||||
|
||||
setBounds((screen.width - wide) / 2,
|
||||
(screen.height - high) / 2, wide, high);
|
||||
show();
|
||||
//show(); // done byte PdeEditor instead
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,8 @@ public class PdeEditorFind extends JFrame implements ActionListener {
|
||||
found = false;
|
||||
|
||||
String search = findField.getText();
|
||||
if (search.length() == 0) return;
|
||||
// this will catch "find next" being called when no search yet
|
||||
if (search.length() == 0) return;
|
||||
|
||||
String text = editor.textarea.getText();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user