remove ErrorMarker hack, make it standard in Editor

This commit is contained in:
Ben Fry
2016-08-06 15:03:06 -04:00
parent d17c91bd47
commit 149fda3d37
2 changed files with 10 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ public class JavaEditor extends Editor {
hasJavaTabs = checkForJavaTabs();
/*
// hack to add a JPanel to the right-hand side of the text area
JPanel textAndError = new JPanel();
// parent is a vertical box with the toolbar, the header, and the text area
@@ -103,6 +104,7 @@ public class JavaEditor extends Editor {
textAndError.add(textarea);
// add our hacked version back to the editor
box.add(textAndError);
*/
getPdeTextArea().setMode(jmode);