Eclipse中VerticalRuler的AnnotationRulerColumn的着色行

时间:2012-06-19 14:52:07

标签: eclipse eclipse-plugin eclipse-rcp

我正在尝试更改Eclipse中VerticalRuler的AnnotationRulerColumn的背景颜色。到目前为止,我只能在更改边界后分别更改整个列的颜色。有没有办法将Colum分区为行来表示源代码行?

Color co = new Color(display,2,3,2);
Color co2 = new Color(display,2,3,255);
Rectangle rect = new Rectangle(0,0,25,200);
column1.getControl().setBounds(rect);
column1.getControl().setBackground(co);
column2.getControl().setBackground(co2);

enter image description here

相关主题:

Eclipse editor: show markers on custom column of vertical ruler

creating VerticalRuler and add Information

get line number within a eclipse Plugin

0 个答案:

没有答案