Emacs 24内置的CEDET函数高亮功能

6

我希望去掉函数上方的下划线,例如在这个“void”上方的截图中所示:

http://cedet.sourceforge.net/img-gen/semantic-ia-complete-menu.png

我在文档中没有找到任何明显的内容,但是,我甚至不知道首先要搜索什么。 (“function marker”,“underline”等)

我像这样设置了cedet:

;; cedet
(require 'semantic)
(require 'semantic/sb)
(require 'srecode)
(global-ede-mode 1)
(semantic-mode 1)
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-idle-completions-mode 1)
(global-semantic-decoration-mode 1)
(global-semantic-highlight-func-mode 1)
(global-semantic-stickyfunc-mode -1)
(global-semantic-idle-summary-mode 1)
(global-semantic-mru-bookmark-mode 1)
(semanticdb-enable-gnu-global-databases 'c-mode)
(semanticdb-enable-gnu-global-databases 'c++-mode)
(set-default 'semantic-case-fold t)

有人能指点我方向吗?

谢谢, Mario

2个回答

4

这应该是semantic-highlight-func-current-tag-face... 你还可以查看其他semantic-.... faces。


4

这是通过语义修饰模式完成的,因此要么完全禁用它,要么只是修改标记边界的外观。要找出您需要修改的面,移动到该位置并执行

C-u C-x =

然后查看面部叠加(这应该是semantic-tag-boundary-face)。然后,您可以通过单击它或通过以下方式进行自定义

M-x customize-face RET semantic-tag-boundary-face RET


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接