Variable: vhdl-highlight-translate-off
vhdl-highlight-translate-off is a customizable variable defined in
vhdl-mode.el.gz.
Value
nil
Documentation
Non-nil means background-highlight code excluded from translation.
That is, all code between "-- pragma translate_off" and
"-- pragma translate_on" is highlighted using a different background color
(face vhdl-font-lock-translate-off-face).
Note: this might slow down on-the-fly fontification (and thus editing).
NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
entry "Fontify Buffer").
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defcustom vhdl-highlight-translate-off nil
"Non-nil means background-highlight code excluded from translation.
That is, all code between \"-- pragma translate_off\" and
\"-- pragma translate_on\" is highlighted using a different background color
\(face `vhdl-font-lock-translate-off-face').
Note: this might slow down on-the-fly fontification (and thus editing).
NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
entry \"Fontify Buffer\")."
:type 'boolean
:set (lambda (variable value)
(vhdl-custom-set variable value #'vhdl-font-lock-init))
:group 'vhdl-highlight)