http://www.codeguru.com/Cpp/misc/samples/codehighlighting/article.php/c4693
有了这个就方便多了
test:
// plain text
#include <stdio.h>
int main()
{
printf("hello world/n");
// test: show colored text
return 0;
}
// colored text
#include <stdio.h>int main()
{
printf("hello world/n");
// test: show colored text
return 0;
}
不足: 实现的功能太少
只能对关键字, 字符串, 注释 分别着色
要是能像va.net那样就nb了