incorporate martin's auto format code

This commit is contained in:
benfry
2005-05-07 04:21:57 +00:00
parent d66f64a28d
commit 2a96ef5940
2 changed files with 880 additions and 27 deletions

View File

@@ -581,7 +581,7 @@ public class Editor extends JFrame
JMenuItem item;
JMenu menu = new JMenu("Tools");
item = new JMenuItem("Auto Format");
item = newJMenuItem("Auto Format", 'F', true);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
new AutoFormat(Editor.this).show();