【问题标题】:Change color of spelling errors in eclipse更改日食中拼写错误的颜色
【发布时间】:2011-02-15 06:57:51
【问题描述】:

这有办法改变 Eclipse (Galileo) 中拼写错误的颜色吗?默认的红色下划线与正常的错误下划线没有区别。

【问题讨论】:

    标签: eclipse ide spell-checking


    【解决方案1】:

    bug 157283中所说,可以更改拼写错误链接:

    Editors > Text Editors > Annotations, line "Spelling Errors"
    

    您为“本机问题下划线”选择的颜色将不同于用于常规“错误”的颜色。

    【讨论】:

      【解决方案2】:

      有指南,如何在 RCP 插件中以编程方式进行操作。 Java Code Examples for org.eclipse.jface.text.source.ISharedTextColors 无法在 Marker(IMarker 界面)和 IPreferenceStore 中设置颜色。必须按时完成

      ISharedTextColors sharedColors = EditorsPlugin.getDefault().getSharedTextColors();
      

      【讨论】:

        猜你喜欢
        • 2016-08-07
        • 2012-07-02
        • 2018-07-28
        • 1970-01-01
        • 2016-01-15
        • 1970-01-01
        • 2011-01-09
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多