Function: semantic-lex-highlight-token
semantic-lex-highlight-token is a byte-compiled function defined in
lex.el.gz.
Signature
(semantic-lex-highlight-token TOKEN)
Documentation
Highlight the lexical TOKEN.
TOKEN is a lexical token with a START And END position. Return the overlay.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(defun semantic-lex-highlight-token (token)
"Highlight the lexical TOKEN.
TOKEN is a lexical token with a START And END position.
Return the overlay."
(let ((o (make-overlay (semantic-lex-token-start token)
(semantic-lex-token-end token))))
(overlay-put o 'face 'highlight)
o))