python.properties
来自「porting scintilla to qt」· PROPERTIES 代码 · 共 90 行
PROPERTIES
90 行
# Define SciTE settings for Python files.file.patterns.py=*.py;*.pywfile.patterns.scons=SConstruct;SConscriptshbang.python=pyfilter.python=Python (py pyw)|$(file.patterns.py)|lexer.$(file.patterns.py)=pythonlexer.$(file.patterns.scons)=pythonkeywordclass.python=and as assert break class continue def del elif \else except exec finally for from global if import in is lambda None \not or pass print raise return try while with yieldkeywords.$(file.patterns.py)=$(keywordclass.python)keywords.$(file.patterns.scons)=$(keywordclass.python)#~ statement.indent.$(file.patterns.py)=10 :statement.indent.$(file.patterns.py)=5 class def elif else except finally \for if try while withstatement.lookback.$(file.patterns.py)=0block.start.$(file.patterns.py)=block.end.$(file.patterns.py)=view.indentation.examine.*.py=2tab.timmy.whinge.level=1#fold.quotes.python=1comment.block.python=#~# Python styles# White spacestyle.python.0=fore:#808080# Commentstyle.python.1=fore:#007F00,$(font.comment)# Numberstyle.python.2=fore:#007F7F# Stringstyle.python.3=fore:#7F007F,$(font.monospace)# Single quoted stringstyle.python.4=fore:#7F007F,$(font.monospace)# Keywordstyle.python.5=fore:#00007F,bold# Triple quotesstyle.python.6=fore:#7F0000# Triple double quotesstyle.python.7=fore:#7F0000# Class name definitionstyle.python.8=fore:#0000FF,bold# Function or method name definitionstyle.python.9=fore:#007F7F,bold# Operatorsstyle.python.10=bold# Identifiersstyle.python.11=# Comment-blocksstyle.python.12=fore:#7F7F7F# End of line where string is not closedstyle.python.13=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled# Highlighted identifiersstyle.python.14=fore:#407090# Decoratorsstyle.python.15=fore:#805000# Matched Operatorsstyle.python.34=fore:#0000FF,boldstyle.python.35=fore:#FF0000,bold# Braces are only matched in operator stylebraces.python.style=10if PLAT_WIN command.go.*.py=pythonw -u "$(FileNameExt)" command.go.subsystem.*.py=1 command.go.*.pyw=pythonw -u "$(FileNameExt)" command.go.subsystem.*.pyw=1 command.build.SConscript=scons.bat --up . command.build.SConstruct=scons.bat .if PLAT_GTK command.go.*.py=python -u "$(FileNameExt)" command.build.SConscript=scons --up . command.build.SConstruct=scons .command.name.1.*.py=Syntax Checkcommand.1.*.py=python -c "import py_compile; py_compile.compile(r'$(FilePath)')"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?