Skip to content

Commit 303b2e5

Browse files
committed
Removed arrow.
1 parent f233861 commit 303b2e5

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

app/src/processing/app/syntax/SyntaxUtilities.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -218,29 +218,12 @@ private static int drawTabbedCommentsText(Segment line, int x, int y,
218218
styles[Token.URL].setGraphicsFlags(gfx, f);
219219
x = Utilities.drawTabbedText(tag, x, y, gfx, expander, 0);
220220

221-
// Draw arrow.
222-
FontMetrics metrics = gfx.getFontMetrics();
223-
int h = metrics.getHeight() - 2;
224-
drawArrow(gfx, x, y - h + metrics.getDescent() - 1, h, h);
225-
226221
commentStyle.setGraphicsFlags(gfx, f);
227222
if (post.length()>0)
228223
x = Utilities.drawTabbedText(post, x, y, gfx, expander, 0);
229224
return x;
230225
}
231226

232-
private static void drawArrow(Graphics gfx, int x, int y, int w, int h) {
233-
int h2 = h / 2;
234-
int h4 = h / 4;
235-
gfx.drawLine(x, y+h2, x+h2, y);
236-
gfx.drawLine(x+h2, y, x+h2, y+h4);
237-
gfx.drawLine(x+h2, y+h4, x+h, y+h4);
238-
gfx.drawLine(x+h, y+h4, x+h, y+h-h4);
239-
gfx.drawLine(x+h, y+h-h4, x+h2, y+h-h4);
240-
gfx.drawLine(x+h2,y+h-h4, x+h2, y+h);
241-
gfx.drawLine(x, y+h2, x+h2, y+h);
242-
}
243-
244227
// private members
245228
private SyntaxUtilities() {}
246229
}

0 commit comments

Comments
 (0)