notes and potential workaround for #3591

This commit is contained in:
Ben Fry
2015-09-18 09:27:53 -04:00
parent cc648bfb10
commit 95215e68e3
2 changed files with 15 additions and 2 deletions

View File

@@ -865,6 +865,13 @@ public class JavaTextAreaPainter extends TextAreaPainter
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@Override
public int getWidth() {
// https://github.com/processing/processing/issues/3591
return super.getWidth() - Editor.LEFT_GUTTER;
}
public Editor getEditor() {
return ((JavaTextArea) textArea).editor;
}