more whacks at #3591

This commit is contained in:
Ben Fry
2015-09-18 09:36:34 -04:00
parent ca320883ff
commit 7fe3b83119
5 changed files with 68 additions and 63 deletions

View File

@@ -866,7 +866,7 @@ public class JavaTextAreaPainter extends TextAreaPainter
@Override
public int getWidth() {
public int getScrollWidth() {
// https://github.com/processing/processing/issues/3591
return super.getWidth() - Editor.LEFT_GUTTER;
}