[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kdelibs coding style
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2006-07-23 17:12:58
Message-ID: 200607231912.59301.Woebbeking () onlinehome ! de
[Download RAW message or body]

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.


Cheers,
André

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic