我正在尝试更改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);
相关主题:
Eclipse editor: show markers on custom column of vertical ruler