jedit语法高亮设置帮助信息

22 views
Skip to first unread message

pi1ot

unread,
Jun 12, 2012, 8:43:35 AM6/12/12
to jedi...@googlegroups.com
Below is a list of jEdit "token types" (from the Global Options/Syntax Highlighting pane) and their corresponding Stata bits.

Token Type Stata Use
Comment 1 star - used to un/comment whole lines
Comment 2 slash-star - used to un/comment just the selected text
Comment 3 triple slash
Comment 4 double slash
Digit digits
Function functions, ie xxx(yyy)
Keyword 1 variables, names, option keywords, etc.
Keyword 2 exit, error
Keyword 3 used for stuff that is not parsed, e.g., macro functions, set and syntax commands
Keyword 4 assignment operator, i.e. =
Label *--- special comment line used as a breakpoint by the do macros
Literal 1 unquoted strings, e.g., file names, macro content
Literal 2 double-quoted strings
Literal 3 compound-quoted strings
Literal 4 macros
Markup Not used for Stata
Operator operators (except assignment), e.g., + - * /
Reply all
Reply to author
Forward
0 new messages