@@ -218,29 +218,12 @@ private static int drawTabbedCommentsText(Segment line, int x, int y,
218
218
styles [Token .URL ].setGraphicsFlags (gfx , f );
219
219
x = Utilities .drawTabbedText (tag , x , y , gfx , expander , 0 );
220
220
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
-
226
221
commentStyle .setGraphicsFlags (gfx , f );
227
222
if (post .length ()>0 )
228
223
x = Utilities .drawTabbedText (post , x , y , gfx , expander , 0 );
229
224
return x ;
230
225
}
231
226
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
-
244
227
// private members
245
228
private SyntaxUtilities () {}
246
229
}
0 commit comments