Skip to content

Commit f6d8e18

Browse files
committed
don't hide exception.. need to fix
1 parent c983f07 commit f6d8e18

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

java/src/processing/mode/java/pdex/JavaTextAreaPainter.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,10 @@ public void mousePressed(MouseEvent event) {
111111
* Paint a line. Paints the gutter (with background color and text) then the
112112
* line (background color and text).
113113
*
114-
* @param gfx
115-
* the graphics context
114+
* @param gfx the graphics context
116115
* @param tokenMarker
117-
* @param line
118-
* 0-based line number
119-
* @param x
120-
* horizontal position
116+
* @param line 0-based line number
117+
* @param x horizontal position
121118
*/
122119
@Override
123120
protected void paintLine(Graphics gfx, int line, int x,
@@ -128,7 +125,8 @@ protected void paintLine(Graphics gfx, int line, int x,
128125
super.paintLine(gfx, line, x + Editor.LEFT_GUTTER, tokenMarker);
129126

130127
} catch (Exception e) {
131-
Messages.log(e.getMessage());
128+
//Messages.log(e.getMessage());
129+
e.printStackTrace();
132130
}
133131

134132
// formerly only when in debug mode

todo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
0252 (3.1.3?)
22
_ modify line number color when no lines extend that far?
33
_ https://github.com/processing/processing/pull/4560
4+
_ swap out the fonts?
45

56
contrib
67
X Simplify conditional branch

0 commit comments

Comments
 (0)