由于ubuntu12.4不支持自定义主题,没有办法改变系统颜色,故在eclipse中配置:
if PLAT_GTK
font.base=font:!Bitstream Vera Sans,size:11
font.small=font:!Bitstream Vera Sans,size:9
font.comment=font:!Bitstream Vera Serif,size:10
font.code.comment.box=$(font.comment)
font.code.comment.line=$(font.comment)
font.code.comment.doc=$(font.comment)
font.code.comment.nested=$(font.comment)
font.text=font:!Bitstream Charter,size:11
font.text.comment=font:!Bitstream Charter,size:10
font.embedded.base=font:!Bitstream Charter,size:10
font.embedded.comment=font:!Bitstream Charter,size:10
font.monospace=font:!Bitstream Charter,size:10
font.vbs=font:!Bitstream Charter,size:10
code.page=65001
如果要显示行号,设置
line.margin.visible=1。
以下这句是用来改变颜色滴
style.*.32=$(font.base),fore:#000000,back:#CBE8CF
主要调节了字体和默认编码为unicode