implementation of find/replace, and bug fix for stuck 'open' button

This commit is contained in:
benfry
2003-09-22 05:30:55 +00:00
parent 946f6caaaa
commit 2e078f3f87
4 changed files with 226 additions and 10 deletions

View File

@@ -1594,6 +1594,21 @@ public class PdeEditor extends JPanel {
}
PdeEditorFind find;
public void find() {
if (find == null) {
find = new PdeEditorFind(this);
} else {
find.show();
}
}
public void findNext() {
if (find != null) find.find();
}
public void doBeautify() {
String prog = textarea.getText();
makeHistory(prog, BEAUTIFY);