kdelibs coding style

André Wöbbeking Woebbeking at onlinehome.de
Sun Jul 23 18:12:58 BST 2006

On Sunday 23 July 2006 18:56, Maks Orlovich wrote:

> Do emacs and vim have something like kate's visible tabs?

I don't know whether XEmacs has it built in but I use

(require 'cc-mode)
(require 'font-lock)
(make-face 'font-lock-tab-face)
(set-face-background 'font-lock-tab-face "white")
(setq c++-font-lock-keywords-3 (cons '("\\([ \t]+$\\|\t\\)" . 
font-lock-tab-face) c++-font-lock-keywords-3))

to display tabs and trailing white spaces. Just change "white" to the 
color you like.


More information about the kde-core-devel mailing list