On 10/19/2013 10:37 AM, Michael Gerdau wrote:

> The real problem stems from editors that have no proper visual
> differentiation between the various types of whitespace (...and users
> that aren't aware of this fact ;)

Fair enough.

> emacs really is top notch in this arena ;)

Uh oh.  The gauntlet has been thrown down!

Google, google, google...  Read, read, read...

> [for those not familiar with emacs:
> you can configure it such that different whitespace are displayed in
> different color]

mkdir -p ~/.vim/syntax/

place this as cpp.vim

syntax match Tab /\t/
hi Tab gui=underline guifg=blue ctermbg=blue


It works!  I can see clearly now that there are tabs in this stupid 
file.  OK, that's pretty awesome, and I wonder why I never thought to 
look for something like this 10 years ago.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to