首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

SciTE编译器背景颜色配置,该怎么处理

2012-05-28 
SciTE编译器背景颜色配置自定义函数和变量,背景都是白的,找不到在哪改。其它背景色是在lua.project改的。[解

SciTE编译器背景颜色配置
自定义函数和变量,背景都是白的,找不到在哪改。其它背景色是在lua.project改的。

[解决办法]
Menu -> Options -> Open User Options File
...
添加一段类似下面的代码:

#Default
style.python.32=$(stdstyle.default),back:#333333
# White space: Visible only in View Whitespace mode (or if it has a back colour)
style.python.0=$(stdstyle.whitespace),back:#333333
# Block comment (Lua 5.0)
style.python.1=$(luastyle.blockcomment1),fore:#87CEEB,back:#333333
# Line comment
style.python.2=$(stdstyle.eolcomment1),fore:#87CEEB,back:#333333
# Doc comment -- Not used in Lua (yet?)
style.python.3=$(stdstyle.doccomment1),fore:#87CEEB,back:#333333
# Number
style.python.4=$(stdstyle.number1),back:#333333,fore:#FFA0A0
# Keyword
style.python.5=$(stdstyle.keyword1),back:#333333,fore:#F0E68C
# (Double quoted) String
style.python.6=$(stdstyle.string1),back:#333333,fore:#FFA0A0
# Character (Single quoted string)
style.python.7=$(stdstyle.string1),back:#333333,fore:#FFA0A0
# Literal string
style.python.8=$(luastyle.mlstring1),back:#333333,fore:#FFA0A0
# Preprocessor (obsolete in Lua 4.0 and up)
style.python.9=$(stdstyle.preprocessor1),back:#333333,fore:#FFA0A0
# Operators
style.python.10=$(stdstyle.operator1),back:#333333,fore:#FFFFFF
# Identifier (everything else...)
style.python.11=$(stdstyle.default),back:#333333,fore:#FFFFFF
# End of line where string is not closed
style.python.12=$(stdstyle.stringerror)
# Other keywords (bozo test colors, but toned down ;)
style.python.13=$(stdstyle.keyword2),back:#333333,fore:#F0E68C
style.python.14=$(stdstyle.keyword3),back:#333333,fore:#F0E68C
style.python.15=$(stdstyle.keyword4),back:#333333,fore:#F0E68C
style.python.16=$(stdstyle.keyword2),back:#333333,fore:#F0E68C
style.python.17=$(stdstyle.keyword3),back:#333333,fore:#F0E68C
style.python.18=$(stdstyle.keyword4),back:#333333,fore:#F0E68C
style.python.19=$(stdstyle.keyword2),back:#333333,fore:#F0E68C
# Braces are only matched in operator style
braces.lua.style=10

[解决办法]
你打开lua.properties,在里面修改style部分,或者copy到User Options File里再做修改。有重复定义的时候,User Options File的作用等级应该是最高的...

热点排行