效果如图所下
具体设置步骤如下!!!
- 第一步:打开KEIL安装路径;
- 第二步:找到在UV4目录下的global.prop文件
- 第三步:以编辑或文本形式打开
- 第四步:修改框框的内容为:
复制下面的的代码到指定位置。
font.monospace.cpp=Consolas style.cpp.32=font:Consolas,size:14,fore:#FF972F,back:#152B2B style.cpp.4=font:Consolas,size:14,fore:#007F7F,back:#152B2B style.cpp.10=font:Consolas,size:14,fore:#FF8040,back:#152B2B style.cpp.1=font:Consolas,size:14,fore:#AAFFFF,back:#152B2B style.cpp.2=font:Consolas,size:14,fore:#AAFFFF,back:#152B2B style.cpp.5=font:Consolas,size:14,fore:#BF0000,back:#152B2B style.cpp.6=font:Consolas,size:14,fore:#FF8040,back:#152BB style.cpp.11=font:Consolas,size:14,fore:#FF8040,back:#152B2B style.cpp.9=font:Consolas,size:14,fore:#FF0000,back:#152B2B style.cpp.7=font:Consolas,size:14,fore:#7F007F,back:#152B2B style.cpp.34=font:Consolas,size:14,fore:#500000,back:#152B2B style.cpp.35=font:Consolas,size:14,fore:#FF0000,back:#152B2B style.cpp.16=font:Consolas,size:14,fore:#B00040,back:#152B2B style.cpp.12=font:Consolas,size:14,fore:#000000,back:#152B2B