cleaning up the mess with the text highlighting, etc

This commit is contained in:
benfry
2004-01-08 08:07:12 +00:00
parent 7c927c0438
commit 47cb002c70
5 changed files with 15 additions and 6 deletions

View File

@@ -209,7 +209,8 @@ public class PdeEditor extends JFrame
header = new PdeEditorHeader(this);
rightPanel.add(header, BorderLayout.NORTH);
textarea = new JEditTextArea();
//textarea = new JEditTextArea();
textarea = new JEditTextArea(new PdeTextAreaDefaults());
textarea.setRightClickPopup(new TextAreaPopup());
textarea.setTokenMarker(new PdeKeywords());