3 ms·
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 hig
by davidshepherd7 12y 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).
- Jeaye 12y agoThe first picture is from the color_coded source itself: https://github.com/jeaye/color_coded/blob/master/include/async/queue.hpp#L30 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/jeayeson/value.hpp#L69 https://github.com/jeaye/jeayeson/blob/master/include/jeayes...
- davidshepherd7 12y agoThanks, for anyone curious here's what emacs does with the first example: http://imgur.com/Rddi9QH http://imgur.com/Rddi9QH compare with color_coded: https://camo.githubusercontent.com/5cf719c6357f27b86c45bf9b5461686c70e322ef/687474703a2f2f6a656179652e636f6d2f63632f7472696d6d65645f63635f745f7965735f332e706e67 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.