latex.xs.svn-base

来自「支持自定义语法高亮显示的编辑器控件」· SVN-BASE 代码 · 共 38 行

SVN-BASE
38
字号
//Language: LaTex
//Copyright (c) 1992-2002 Altium Limited             
//All rights reserved.                               
//http://www.dream-com.com                           
//contact@dream-com.com                              

// states
State=snormal
State=scomment
State=shtmltag
State=sproperty
// tokens
Token=tnone
Token=tgroupbegin
Token=tcomment
Token=tgroupend
Token=tresword
Token=tresword1
Token=twhitespace
//delims
Delimiters=;.,:'"{}[]()?!@#$%^&*-+=|\/

snormal \\[a-z_A-Z][a-z_A-Z0-9]*  snormal tresword

//white space
snormal #32*                      snormal   twhitespace

//comments
snormal   \%                      scomment  tcomment 
scomment [#1-#255]*               snormal   tcomment
scomment $                        snormal   tcomment

snormal \{                         shtmltag tresword1
shtmltag [^\}]*                    shtmltag tresword1
shtmltag \\[a-z_A-Z][a-z_A-Z0-9]*  shtmltag tresword
shtmltag \}                        snormal  tresword1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?