如何改变keil5的背景色

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

作者:一中

1.打开这个文件,记事本方式打开F:\Keil_v5\UV4\global.prop

原背景色代码:

# vertical edge at right margin

edge.mode=0

edge.column=80

# Specification for text selection and caret line

selection.fore=#FF80FF

selection.back=#000000

caret.fore=#000000

caret.back=#FFFFFF

# Color for vertical edge

edge.colour=#66FAFA

# C/C++ Editor files

template.cpp="#define","#define |";"#if","#if |\r\n\r\n#endif";\\

"#include","#include ";"Header","// Header:\r\n// File Name: |\r\n// Author:\r\n// Date:\r\n";\\

"continue","continue;";"do","do\r\n{\r\n\t// TODO: enter the block content here\r\n\t\r\n\t|\r\n} while ();\r\n";\\

"enum","enum |\r\n{\r\n\t\r\n};\r\n";"for","for(|;;)\r\n{\r\n}";\\

"fpointer_type","typedef int (* |F)();\r\n";"function","void function(|)\r\n{\r\n\r\n}\r\n";\\ "if","if (|)";"ifelse","if (|)\r\n{\r\n}\r\nelse\r\n{\r\n}";\\

"struct","struct | \r\n{\r\n\r\n};\r\n";"switch","switch (|)\r\n{\r\n\tcase:\r\n\t\tbreak;\r\n\tcase:\r\n\t\tbreak;\r\n\tdefault:\r\n\t\tbreak;\r\n}";\\ "void","void | ();\r\n";"while","while (|)\r\n{\r\n}";\\

font.monospace.cpp=Courier New

style.cpp.32=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF

style.cpp.4=font:Courier New,size:10,fore:#007F7F,back:#FFFFFF

style.cpp.10=font:Courier New,size:10,fore:#000000,back:#FFFFFF

style.cpp.1=font:Courier New,size:10,fore:#007F00,back:#FFFFFF

style.cpp.2=font:Courier New,size:10,fore:#007F00,back:#FFFFFF

style.cpp.5=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF

style.cpp.6=font:Courier New,size:10,fore:#7F007F,back:#FFFFFF

style.cpp.11=font:Courier New,size:10,fore:#000000,back:#FFFFFF

style.cpp.9=font:Courier New,size:10,fore:#7F7F00,back:#FFFFFF

style.cpp.7=font:Courier New,size:10,fore:#7F007F,back:#FFFFFF

style.cpp.34=font:Courier New,size:10,fore:#500000,back:#20FFFF

style.cpp.35=font:Courier New,size:10,fore:#FF0000,back:#FFFFFF

style.cpp.16=font:Courier New,size:10,fore:#B00040,back:#FFFFFF

style.cpp.12=font:Courier New,size:10,fore:#000000,back:#E0C0E0

3. 改后将上面那部分代码替换成如下代码

样式1:混合式

# C/C++ Editor files

template.cpp="#define","#define |";"#if","#if |\r\n\r\n#endif";\\

"#include","#include ";"Header","// Header:\r\n// File Name: |\r\n// Author:\r\n// Date:\r\n";\\

"continue","continue;";"do","do\r\n{\r\n\t// TODO: enter the block content here\r\n\t\r\n\t|\r\n} while ();\r\n";\\

"enum","enum |\r\n{\r\n\t\r\n};\r\n";"for","for(|;;)\r\n{\r\n}";\\

"fpointer_type","typedef int (* |F)();\r\n";"function","void function(|)\r\n{\r\n\r\n}\r\n";\\ "if","if (|)";"ifelse","if (|)\r\n{\r\n}\r\nelse\r\n{\r\n}";\\

"struct","struct | \r\n{\r\n\r\n};\r\n";"switch","switch (|)\r\n{\r\n\tcase:\r\n\t\tbreak;\r\n\tcase:\r\n\t\tbreak;\r\n\tdefault:\r\n\t\tbreak;\r\n}";\\ "void","void | ();\r\n";"while","while (|)\r\n{\r\n}";\\

font.monospace.cpp=Consolas

style.cpp.32=font:Consolas,size:14,fore:#800040,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,bold,italics

style.cpp.6=font:Consolas,size:14,fore:#FF8000,back:#152B2B

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

相关文档
最新文档