mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
implementation of find/replace, and bug fix for stuck 'open' button
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user