more work on saving sketches, fixing up PdeEditorListener for prefs

This commit is contained in:
benfry
2004-01-20 15:25:14 +00:00
parent c86a8bef7d
commit d093b286b4
5 changed files with 110 additions and 159 deletions

View File

@@ -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();