From 95215e68e352097d599f2d97ae66c43d1506e9f9 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Fri, 18 Sep 2015 09:27:53 -0400 Subject: [PATCH] notes and potential workaround for #3591 --- .../processing/mode/java/pdex/JavaTextAreaPainter.java | 7 +++++++ todo.txt | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/java/src/processing/mode/java/pdex/JavaTextAreaPainter.java b/java/src/processing/mode/java/pdex/JavaTextAreaPainter.java index 42e0bcd00..284a96806 100644 --- a/java/src/processing/mode/java/pdex/JavaTextAreaPainter.java +++ b/java/src/processing/mode/java/pdex/JavaTextAreaPainter.java @@ -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; } diff --git a/todo.txt b/todo.txt index d64d63ee4..7b5fe7818 100644 --- a/todo.txt +++ b/todo.txt @@ -25,6 +25,12 @@ gsoc X prevent "updating" to a still-incompatible version of a contrib X https://github.com/processing/processing/issues/3801 X https://github.com/processing/processing/pull/3805 +X Tools are getting redundantly added when installing new tool +X https://github.com/processing/processing/issues/3818 +X https://github.com/processing/processing/pull/3820 +X after clicking 'install' it's still possible to click it again +X https://github.com/processing/processing/issues/3806 +X https://github.com/processing/processing/pull/3817 jakub X Make preprocessor scope-aware @@ -140,8 +146,6 @@ _ whether hitting ESC or the close box on the window manager -_ after clicking 'install' it's still possible to click it again -_ https://github.com/processing/processing/issues/3806 _ scrolling "past" top/bottom causes the screen to jiggle _ number of updates available is not correct _ retina icons show at twice the size and just crop at top/bottom @@ -231,6 +235,8 @@ _ https://github.com/processing/processing/pull/3178 help me +_ Horizontal scrollbar does not scroll textarea all the way +_ https://github.com/processing/processing/issues/3591 _ "String index out of range" error _ https://github.com/processing/processing/issues/1940 _ problems with non-US keyboards and some shortcuts