Hacker News new | ask | show | jobs
by davidshepherd7 4096 days ago
Have you got a plain text version of the highlighted source examples somewhere? I want to compare it with emacs' default highlighting (I think default emacs highlights almost as much as the "After color_coded" screen shot).
1 comments

The first picture is from the color_coded source itself:

https://github.com/jeaye/color_coded/blob/master/include/asy...

The second picture is from my C++14 JSON library:

https://github.com/jeaye/jeayeson/blob/master/include/jeayes...

Thanks, for anyone curious here's what emacs does with the first example:

http://imgur.com/Rddi9QH

compare with color_coded: https://camo.githubusercontent.com/5cf719c6357f27b86c45bf9b5...

So it looks like color_coded can highlight at least a few things that default emacs doesn't: function calls, variables (when they are used, both can highlight declarations) and non-standard type template parameters.