1
0
mirror of https://github.com/gryf/.vim.git synced 2026-02-01 07:05:48 +01:00

Moja prawie współczesna konfiguracja. Dużo rzeczy :)

This commit is contained in:
2010-04-11 20:41:45 +02:00
parent 74c5c4085f
commit 63717266b9
173 changed files with 61061 additions and 1933 deletions

368
syntax/c.vim Normal file
View File

@@ -0,0 +1,368 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2008 Mar 19
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
endif
" A bunch of useful C keywords
syn keyword cStatement goto break return continue asm
syn keyword cLabel case default
syn keyword cConditional if else switch
syn keyword cRepeat while for do
syn keyword cTodo contained TODO FIXME XXX
" cCommentGroup allows adding matches for special things in comments
syn cluster cCommentGroup contains=cTodo
" String and Character constants
" Highlight special characters (those which have a backslash) differently
syn match cSpecial display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)"
if !exists("c_no_utf")
syn match cSpecial display contained "\\\(u\x\{4}\|U\x\{8}\)"
endif
if exists("c_no_cformat")
syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,@Spell
" cCppString: same as cString, but ends at end of line
syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,@Spell
else
if !exists("c_no_c99") " ISO C99
syn match cFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlLjzt]\|ll\|hh\)\=\([aAbdiuoxXDOUfFeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
else
syn match cFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlL]\|ll\)\=\([bdiuoxXDOUfeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
endif
syn match cFormat display "%%" contained
syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat,@Spell
" cCppString: same as cString, but ends at end of line
syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell
endif
syn match cCharacter "L\='[^\\]'"
syn match cCharacter "L'[^']*'" contains=cSpecial
if exists("c_gnu")
syn match cSpecialError "L\='\\[^'\"?\\abefnrtv]'"
syn match cSpecialCharacter "L\='\\['\"?\\abefnrtv]'"
else
syn match cSpecialError "L\='\\[^'\"?\\abfnrtv]'"
syn match cSpecialCharacter "L\='\\['\"?\\abfnrtv]'"
endif
syn match cSpecialCharacter display "L\='\\\o\{1,3}'"
syn match cSpecialCharacter display "'\\x\x\{1,2}'"
syn match cSpecialCharacter display "L'\\x\x\+'"
"when wanted, highlight trailing white space
if exists("c_space_errors")
if !exists("c_no_trail_space_error")
syn match cSpaceError display excludenl "\s\+$"
endif
if !exists("c_no_tab_space_error")
syn match cSpaceError display " \+\t"me=e-1
endif
endif
" This should be before cErrInParen to avoid problems with #define ({ xxx })
if exists("c_curly_error")
syntax match cCurlyError "}"
syntax region cBlock start="{" end="}" contains=ALLBUT,cCurlyError,@cParenGroup,cErrInParen,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell fold
else
syntax region cBlock start="{" end="}" transparent fold
endif
"catch errors caused by wrong parenthesis and brackets
" also accept <% for {, %> for }, <: for [ and :> for ] (C99)
" But avoid matching <::.
syn cluster cParenGroup contains=cParenError,cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom
if exists("c_no_curly_error")
syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cCppString,@Spell
" cCppParen: same as cParen but ends at end-of-line; used in cDefine
syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell
syn match cParenError display ")"
syn match cErrInParen display contained "^[{}]\|^<%\|^%>"
elseif exists("c_no_bracket_error")
syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cCppString,@Spell
" cCppParen: same as cParen but ends at end-of-line; used in cDefine
syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell
syn match cParenError display ")"
syn match cErrInParen display contained "[{}]\|<%\|%>"
else
syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell
" cCppParen: same as cParen but ends at end-of-line; used in cDefine
syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell
syn match cParenError display "[\])]"
syn match cErrInParen display contained "[\]{}]\|<%\|%>"
syn region cBracket transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString,@Spell
" cCppBracket: same as cParen but ends at end-of-line; used in cDefine
syn region cCppBracket transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell
syn match cErrInBracket display contained "[);{}]\|<%\|%>"
endif
"integer number, or floating point number without a dot and with "f".
syn case ignore
syn match cNumbers display transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctalError,cOctal
" Same, but without octal error (for comments)
syn match cNumbersCom display contained transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctal
syn match cNumber display contained "\d\+\(u\=l\{0,2}\|ll\=u\)\>"
"hex number
syn match cNumber display contained "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>"
" Flag the first zero of an octal number as something special
syn match cOctal display contained "0\o\+\(u\=l\{0,2}\|ll\=u\)\>" contains=cOctalZero
syn match cOctalZero display contained "\<0"
syn match cFloat display contained "\d\+f"
"floating point number, with dot, optional exponent
syn match cFloat display contained "\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\="
"floating point number, starting with a dot, optional exponent
syn match cFloat display contained "\.\d\+\(e[-+]\=\d\+\)\=[fl]\=\>"
"floating point number, without dot, with exponent
syn match cFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>"
if !exists("c_no_c99")
"hexadecimal floating point number, optional leading digits, with dot, with exponent
syn match cFloat display contained "0x\x*\.\x\+p[-+]\=\d\+[fl]\=\>"
"hexadecimal floating point number, with leading digits, optional dot, with exponent
syn match cFloat display contained "0x\x\+\.\=p[-+]\=\d\+[fl]\=\>"
endif
" flag an octal number with wrong digits
syn match cOctalError display contained "0\o*[89]\d*"
syn case match
if exists("c_comment_strings")
" A comment can contain cString, cCharacter and cNumber.
" But a "*/" inside a cString in a cComment DOES end the comment! So we
" need to use a special type of cString: cCommentString, which also ends on
" "*/", and sees a "*" at the start of the line as comment again.
" Unfortunately this doesn't very well work for // type of comments :-(
syntax match cCommentSkip contained "^\s*\*\($\|\s\+\)"
syntax region cCommentString contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end=+\*/+me=s-1 contains=cSpecial,cCommentSkip
syntax region cComment2String contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end="$" contains=cSpecial
syntax region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cComment2String,cCharacter,cNumbersCom,cSpaceError,@Spell
if exists("c_no_comment_fold")
" Use "extend" here to have preprocessor lines not terminate halfway a
" comment.
syntax region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cCommentString,cCharacter,cNumbersCom,cSpaceError,@Spell extend
else
syntax region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cCommentString,cCharacter,cNumbersCom,cSpaceError,@Spell fold extend
endif
else
syn region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cSpaceError,@Spell
if exists("c_no_comment_fold")
syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cSpaceError,@Spell extend
else
syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cSpaceError,@Spell fold extend
endif
endif
" keep a // comment separately, it terminates a preproc. conditional
syntax match cCommentError display "\*/"
syntax match cCommentStartError display "/\*"me=e-1 contained
syn keyword cOperator sizeof
if exists("c_gnu")
syn keyword cStatement __asm__
syn keyword cOperator typeof __real__ __imag__
endif
syn keyword cType int long short char void
syn keyword cType signed unsigned float double
if !exists("c_no_ansi") || exists("c_ansi_typedefs")
syn keyword cType size_t ssize_t off_t wchar_t ptrdiff_t sig_atomic_t fpos_t
syn keyword cType clock_t time_t va_list jmp_buf FILE DIR div_t ldiv_t
syn keyword cType mbstate_t wctrans_t wint_t wctype_t
endif
if !exists("c_no_c99") " ISO C99
syn keyword cType bool complex
syn keyword cType int8_t int16_t int32_t int64_t
syn keyword cType uint8_t uint16_t uint32_t uint64_t
syn keyword cType int_least8_t int_least16_t int_least32_t int_least64_t
syn keyword cType uint_least8_t uint_least16_t uint_least32_t uint_least64_t
syn keyword cType int_fast8_t int_fast16_t int_fast32_t int_fast64_t
syn keyword cType uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t
syn keyword cType intptr_t uintptr_t
syn keyword cType intmax_t uintmax_t
endif
if exists("c_gnu")
syn keyword cType __label__ __complex__ __volatile__
endif
syn keyword cStructure struct union enum typedef
syn keyword cStorageClass static register auto volatile extern const
if exists("c_gnu")
syn keyword cStorageClass inline __attribute__
endif
if !exists("c_no_c99")
syn keyword cStorageClass inline restrict
endif
if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu")
if exists("c_gnu")
syn keyword cConstant __GNUC__ __FUNCTION__ __PRETTY_FUNCTION__ __func__
endif
syn keyword cConstant __LINE__ __FILE__ __DATE__ __TIME__ __STDC__
syn keyword cConstant __STDC_VERSION__
syn keyword cConstant CHAR_BIT MB_LEN_MAX MB_CUR_MAX
syn keyword cConstant UCHAR_MAX UINT_MAX ULONG_MAX USHRT_MAX
syn keyword cConstant CHAR_MIN INT_MIN LONG_MIN SHRT_MIN
syn keyword cConstant CHAR_MAX INT_MAX LONG_MAX SHRT_MAX
syn keyword cConstant SCHAR_MIN SINT_MIN SLONG_MIN SSHRT_MIN
syn keyword cConstant SCHAR_MAX SINT_MAX SLONG_MAX SSHRT_MAX
if !exists("c_no_c99")
syn keyword cConstant __func__
syn keyword cConstant LLONG_MIN LLONG_MAX ULLONG_MAX
syn keyword cConstant INT8_MIN INT16_MIN INT32_MIN INT64_MIN
syn keyword cConstant INT8_MAX INT16_MAX INT32_MAX INT64_MAX
syn keyword cConstant UINT8_MAX UINT16_MAX UINT32_MAX UINT64_MAX
syn keyword cConstant INT_LEAST8_MIN INT_LEAST16_MIN INT_LEAST32_MIN INT_LEAST64_MIN
syn keyword cConstant INT_LEAST8_MAX INT_LEAST16_MAX INT_LEAST32_MAX INT_LEAST64_MAX
syn keyword cConstant UINT_LEAST8_MAX UINT_LEAST16_MAX UINT_LEAST32_MAX UINT_LEAST64_MAX
syn keyword cConstant INT_FAST8_MIN INT_FAST16_MIN INT_FAST32_MIN INT_FAST64_MIN
syn keyword cConstant INT_FAST8_MAX INT_FAST16_MAX INT_FAST32_MAX INT_FAST64_MAX
syn keyword cConstant UINT_FAST8_MAX UINT_FAST16_MAX UINT_FAST32_MAX UINT_FAST64_MAX
syn keyword cConstant INTPTR_MIN INTPTR_MAX UINTPTR_MAX
syn keyword cConstant INTMAX_MIN INTMAX_MAX UINTMAX_MAX
syn keyword cConstant PTRDIFF_MIN PTRDIFF_MAX SIG_ATOMIC_MIN SIG_ATOMIC_MAX
syn keyword cConstant SIZE_MAX WCHAR_MIN WCHAR_MAX WINT_MIN WINT_MAX
endif
syn keyword cConstant FLT_RADIX FLT_ROUNDS
syn keyword cConstant FLT_DIG FLT_MANT_DIG FLT_EPSILON
syn keyword cConstant DBL_DIG DBL_MANT_DIG DBL_EPSILON
syn keyword cConstant LDBL_DIG LDBL_MANT_DIG LDBL_EPSILON
syn keyword cConstant FLT_MIN FLT_MAX FLT_MIN_EXP FLT_MAX_EXP
syn keyword cConstant FLT_MIN_10_EXP FLT_MAX_10_EXP
syn keyword cConstant DBL_MIN DBL_MAX DBL_MIN_EXP DBL_MAX_EXP
syn keyword cConstant DBL_MIN_10_EXP DBL_MAX_10_EXP
syn keyword cConstant LDBL_MIN LDBL_MAX LDBL_MIN_EXP LDBL_MAX_EXP
syn keyword cConstant LDBL_MIN_10_EXP LDBL_MAX_10_EXP
syn keyword cConstant HUGE_VAL CLOCKS_PER_SEC NULL
syn keyword cConstant LC_ALL LC_COLLATE LC_CTYPE LC_MONETARY
syn keyword cConstant LC_NUMERIC LC_TIME
syn keyword cConstant SIG_DFL SIG_ERR SIG_IGN
syn keyword cConstant SIGABRT SIGFPE SIGILL SIGHUP SIGINT SIGSEGV SIGTERM
" Add POSIX signals as well...
syn keyword cConstant SIGABRT SIGALRM SIGCHLD SIGCONT SIGFPE SIGHUP
syn keyword cConstant SIGILL SIGINT SIGKILL SIGPIPE SIGQUIT SIGSEGV
syn keyword cConstant SIGSTOP SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU
syn keyword cConstant SIGUSR1 SIGUSR2
syn keyword cConstant _IOFBF _IOLBF _IONBF BUFSIZ EOF WEOF
syn keyword cConstant FOPEN_MAX FILENAME_MAX L_tmpnam
syn keyword cConstant SEEK_CUR SEEK_END SEEK_SET
syn keyword cConstant TMP_MAX stderr stdin stdout
syn keyword cConstant EXIT_FAILURE EXIT_SUCCESS RAND_MAX
" Add POSIX errors as well
syn keyword cConstant E2BIG EACCES EAGAIN EBADF EBADMSG EBUSY
syn keyword cConstant ECANCELED ECHILD EDEADLK EDOM EEXIST EFAULT
syn keyword cConstant EFBIG EILSEQ EINPROGRESS EINTR EINVAL EIO EISDIR
syn keyword cConstant EMFILE EMLINK EMSGSIZE ENAMETOOLONG ENFILE ENODEV
syn keyword cConstant ENOENT ENOEXEC ENOLCK ENOMEM ENOSPC ENOSYS
syn keyword cConstant ENOTDIR ENOTEMPTY ENOTSUP ENOTTY ENXIO EPERM
syn keyword cConstant EPIPE ERANGE EROFS ESPIPE ESRCH ETIMEDOUT EXDEV
" math.h
syn keyword cConstant M_E M_LOG2E M_LOG10E M_LN2 M_LN10 M_PI M_PI_2 M_PI_4
syn keyword cConstant M_1_PI M_2_PI M_2_SQRTPI M_SQRT2 M_SQRT1_2
endif
if !exists("c_no_c99") " ISO C99
syn keyword cConstant true false
endif
" Accept %: for # (C99)
syn region cPreCondit start="^\s*\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" end="//"me=s-1 contains=cComment,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError
syn match cPreCondit display "^\s*\(%:\|#\)\s*\(else\|endif\)\>"
if !exists("c_no_if0")
if !exists("c_no_if0_fold")
syn region cCppOut start="^\s*\(%:\|#\)\s*if\s\+0\+\>" end=".\@=\|$" contains=cCppOut2 fold
else
syn region cCppOut start="^\s*\(%:\|#\)\s*if\s\+0\+\>" end=".\@=\|$" contains=cCppOut2
endif
syn region cCppOut2 contained start="0" end="^\s*\(%:\|#\)\s*\(endif\>\|else\>\|elif\>\)" contains=cSpaceError,cCppSkip
syn region cCppSkip contained start="^\s*\(%:\|#\)\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" contains=cSpaceError,cCppSkip
endif
syn region cIncluded display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
syn match cIncluded display contained "<[^>]*>"
syn match cInclude display "^\s*\(%:\|#\)\s*include\>\s*["<]" contains=cIncluded
"syn match cLineSkip "\\$"
syn cluster cPreProcGroup contains=cPreCondit,cIncluded,cInclude,cDefine,cErrInParen,cErrInBracket,cUserLabel,cSpecial,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cString,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cParen,cBracket,cMulti
syn region cDefine start="^\s*\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" end="//"me=s-1 keepend contains=ALLBUT,@cPreProcGroup,@Spell
syn region cPreProc start="^\s*\(%:\|#\)\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup,@Spell
" Highlight User Labels
syn cluster cMultiGroup contains=cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cCppParen,cCppBracket,cCppString
syn region cMulti transparent start='?' skip='::' end=':' contains=ALLBUT,@cMultiGroup,@Spell
" Avoid matching foo::bar() in C++ by requiring that the next char is not ':'
syn cluster cLabelGroup contains=cUserLabel
syn match cUserCont display "^\s*\I\i*\s*:$" contains=@cLabelGroup
syn match cUserCont display ";\s*\I\i*\s*:$" contains=@cLabelGroup
syn match cUserCont display "^\s*\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup
syn match cUserCont display ";\s*\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup
syn match cUserLabel display "\I\i*" contained
" Avoid recognizing most bitfields as labels
syn match cBitField display "^\s*\I\i*\s*:\s*[1-9]"me=e-1 contains=cType
syn match cBitField display ";\s*\I\i*\s*:\s*[1-9]"me=e-1 contains=cType
if exists("c_minlines")
let b:c_minlines = c_minlines
else
if !exists("c_no_if0")
let b:c_minlines = 50 " #if 0 constructs can be long
else
let b:c_minlines = 15 " mostly for () constructs
endif
endif
if exists("c_curly_error")
syn sync fromstart
else
exec "syn sync ccomment cComment minlines=" . b:c_minlines
endif
" Define the default highlighting.
" Only used when an item doesn't have highlighting yet
hi def link cFormat cSpecial
hi def link cCppString cString
hi def link cCommentL cComment
hi def link cCommentStart cComment
hi def link cLabel Label
hi def link cUserLabel Label
hi def link cConditional Conditional
hi def link cRepeat Repeat
hi def link cCharacter Character
hi def link cSpecialCharacter cSpecial
hi def link cNumber Number
hi def link cOctal Number
hi def link cOctalZero PreProc " link this to Error if you want
hi def link cFloat Float
hi def link cOctalError cError
hi def link cParenError cError
hi def link cErrInParen cError
hi def link cErrInBracket cError
hi def link cCommentError cError
hi def link cCommentStartError cError
hi def link cSpaceError cError
hi def link cSpecialError cError
hi def link cCurlyError cError
hi def link cOperator Operator
hi def link cStructure Structure
hi def link cStorageClass StorageClass
hi def link cInclude Include
hi def link cPreProc PreProc
hi def link cDefine Macro
hi def link cIncluded cString
hi def link cError Error
hi def link cStatement Statement
hi def link cPreCondit PreCondit
hi def link cType Type
hi def link cConstant Constant
hi def link cCommentString cString
hi def link cComment2String cString
hi def link cCommentSkip cComment
hi def link cString String
hi def link cComment Comment
hi def link cSpecial SpecialChar
hi def link cTodo Todo
hi def link cCppSkip cCppOut
hi def link cCppOut2 cCppOut
hi def link cCppOut Comment
let b:current_syntax = "c"
" vim: ts=8

45
syntax/cvsannotate.vim Normal file
View File

@@ -0,0 +1,45 @@
" Vim syntax file
" Language: CVS annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the cvscommand plugin. Originally written by Mathieu
" Clabaut
" License:
" Copyright (c) 2007 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn match cvsDate /\d\d-...-\d\d/ contained
syn match cvsName /(\S* /hs=s+1,he=e-1 contained nextgroup=cvsDate
syn match cvsVer /^\d\+\(\.\d\+\)\+/ contained nextgroup=cvsName
syn region cvsHead start="^\d\+\.\d\+" end="):" contains=cvsVer,cvsName,cvsDate
if !exists("did_cvsannotate_syntax_inits")
let did_cvsannotate_syntax_inits = 1
hi link cvsDate Comment
hi link cvsName Type
hi link cvsVer Statement
endif
let b:current_syntax="CVSAnnotate"

44
syntax/gitAnnotate.vim Normal file
View File

@@ -0,0 +1,44 @@
" Vim syntax file
" Language: git annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the vcscommand plugin.
" License:
" Copyright (c) 2009 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syn region gitName start="(\@<=" end="\( \d\d\d\d-\)\@=" contained
syn match gitCommit /^\^\?\x\+/ contained
syn match gitDate /\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d [+-]\d\d\d\d/ contained
syn match gitLineNumber /\d\+)\@=/ contained
syn region gitAnnotation start="^" end=") " oneline keepend contains=gitCommit,gitLineNumber,gitDate,gitName
if !exists("did_gitannotate_syntax_inits")
let did_gitannotate_syntax_inits = 1
hi link gitName Type
hi link gitCommit Statement
hi link gitDate Comment
hi link gitLineNumber Label
endif
let b:current_syntax="gitAnnotate"

44
syntax/gitannotate.vim Normal file
View File

@@ -0,0 +1,44 @@
" Vim syntax file
" Language: git annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the vcscommand plugin.
" License:
" Copyright (c) 2009 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syn region gitName start="(\@<=" end="\( \d\d\d\d-\)\@=" contained
syn match gitCommit /^\^\?\x\+/ contained
syn match gitDate /\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d [+-]\d\d\d\d/ contained
syn match gitLineNumber /\d\+)\@=/ contained
syn region gitAnnotation start="^" end=") " oneline keepend contains=gitCommit,gitLineNumber,gitDate,gitName
if !exists("did_gitannotate_syntax_inits")
let did_gitannotate_syntax_inits = 1
hi link gitName Type
hi link gitCommit Statement
hi link gitDate Comment
hi link gitLineNumber Label
endif
let b:current_syntax="gitAnnotate"

40
syntax/hgannotate.vim Executable file
View File

@@ -0,0 +1,40 @@
" Vim syntax file
" Language: HG annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the vcscommand plugin.
" License:
" Copyright (c) 2010 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syn match hgVer /\d\+/ contained
syn match hgName /^\s*\S\+/ contained
syn match hgHead /^\s*\S\+\s\+\d\+:/ contains=hgVer,hgName
if !exists("did_hgannotate_syntax_inits")
let did_hgannotate_syntax_inits = 1
hi link hgName Type
hi link hgVer Statement
endif
let b:current_syntax="hgAnnotate"

104
syntax/mkd.vim Normal file
View File

@@ -0,0 +1,104 @@
" Vim syntax file
" Language: Markdown
" Maintainer: Ben Williams <benw@plasticboy.com>
" URL: http://plasticboy.com/markdown-vim-mode/
" Version: 9
" Last Change: 2009 May 18
" Remark: Uses HTML syntax file
" Remark: I don't do anything with angle brackets (<>) because that would too easily
" easily conflict with HTML syntax
" TODO: Handle stuff contained within stuff (e.g. headings within blockquotes)
" Read the HTML syntax to start with
if version < 600
so <sfile>:p:h/html.vim
else
runtime! syntax/html.vim
unlet b:current_syntax
endif
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
" don't use standard HiLink, it will not work with included syntax files
if version < 508
command! -nargs=+ HtmlHiLink hi link <args>
else
command! -nargs=+ HtmlHiLink hi def link <args>
endif
syn spell toplevel
syn case ignore
syn sync linebreaks=1
"additions to HTML groups
syn region htmlBold start=/\\\@<!\(^\|\A\)\@=\*\@<!\*\*\*\@!/ end=/\\\@<!\*\@<!\*\*\*\@!\($\|\A\)\@=/ contains=@Spell,htmlItalic
syn region htmlItalic start=/\\\@<!\(^\|\A\)\@=\*\@<!\*\*\@!/ end=/\\\@<!\*\@<!\*\*\@!\($\|\A\)\@=/ contains=htmlBold,@Spell
syn region htmlBold start=/\\\@<!\(^\|\A\)\@=_\@<!___\@!/ end=/\\\@<!_\@<!___\@!\($\|\A\)\@=/ contains=htmlItalic,@Spell
syn region htmlItalic start=/\\\@<!\(^\|\A\)\@=_\@<!__\@!/ end=/\\\@<!_\@<!__\@!\($\|\A\)\@=/ contains=htmlBold,@Spell
" [link](URL) | [link][id] | [link][]
syn region mkdLink matchgroup=mkdDelimiter start="\!\?\[" end="\]\ze\s*[[(]" contains=@Spell nextgroup=mkdURL,mkdID skipwhite oneline
syn region mkdID matchgroup=mkdDelimiter start="\[" end="\]" contained
syn region mkdURL matchgroup=mkdDelimiter start="(" end=")" contained
" Link definitions: [id]: URL (Optional Title)
" TODO handle automatic links without colliding with htmlTag (<URL>)
syn region mkdLinkDef matchgroup=mkdDelimiter start="^ \{,3}\zs\[" end="]:" oneline nextgroup=mkdLinkDefTarget skipwhite
syn region mkdLinkDefTarget start="<\?\zs\S" excludenl end="\ze[>[:space:]\n]" contained nextgroup=mkdLinkTitle,mkdLinkDef skipwhite skipnl oneline
syn region mkdLinkTitle matchgroup=mkdDelimiter start=+"+ end=+"+ contained
syn region mkdLinkTitle matchgroup=mkdDelimiter start=+'+ end=+'+ contained
syn region mkdLinkTitle matchgroup=mkdDelimiter start=+(+ end=+)+ contained
"define Markdown groups
syn match mkdLineContinue ".$" contained
syn match mkdRule /^\s*\*\s\{0,1}\*\s\{0,1}\*$/
syn match mkdRule /^\s*-\s\{0,1}-\s\{0,1}-$/
syn match mkdRule /^\s*_\s\{0,1}_\s\{0,1}_$/
syn match mkdRule /^\s*-\{3,}$/
syn match mkdRule /^\s*\*\{3,5}$/
syn match mkdListItem "^\s*[-*+]\s\+"
syn match mkdListItem "^\s*\d\+\.\s\+"
syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/
syn match mkdLineBreak / \+$/
syn region mkdCode start=/\\\@<!`/ end=/\\\@<!`/
syn region mkdCode start=/\s*``[^`]*/ end=/[^`]*``\s*/
syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell
syn region mkdCode start="<pre[^>]*>" end="</pre>"
syn region mkdCode start="<code[^>]*>" end="</code>"
"HTML headings
syn region htmlH1 start="^\s*#" end="\($\|#\+\)" contains=@Spell
syn region htmlH2 start="^\s*##" end="\($\|#\+\)" contains=@Spell
syn region htmlH3 start="^\s*###" end="\($\|#\+\)" contains=@Spell
syn region htmlH4 start="^\s*####" end="\($\|#\+\)" contains=@Spell
syn region htmlH5 start="^\s*#####" end="\($\|#\+\)" contains=@Spell
syn region htmlH6 start="^\s*######" end="\($\|#\+\)" contains=@Spell
syn match htmlH1 /^.\+\n=\+$/ contains=@Spell
syn match htmlH2 /^.\+\n-\+$/ contains=@Spell
"highlighting for Markdown groups
HtmlHiLink mkdString String
HtmlHiLink mkdCode String
HtmlHiLink mkdBlockquote Comment
HtmlHiLink mkdLineContinue Comment
HtmlHiLink mkdListItem Identifier
HtmlHiLink mkdRule Identifier
HtmlHiLink mkdLineBreak Todo
HtmlHiLink mkdLink htmlLink
HtmlHiLink mkdURL htmlString
HtmlHiLink mkdID Identifier
HtmlHiLink mkdLinkDef mkdID
HtmlHiLink mkdLinkDefTarget mkdURL
HtmlHiLink mkdLinkTitle htmlString
HtmlHiLink mkdDelimiter Delimiter
let b:current_syntax = "mkd"
delcommand HtmlHiLink
" vim: ts=8

162
syntax/opl.vim Normal file
View File

@@ -0,0 +1,162 @@
" Vim syntax file
" Language: OpenUI
" Maintainer: None
" $Id: opl.vim,v 1.1 2004/06/13 17:34:11 vimboss Exp $
" Open UI Language
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
" case is not significant
syn case ignore
" A bunch of useful OPL keywords
syn keyword OPLStatement proc endp abs acos addr adjustalloc alert alloc app
syn keyword OPLStatement append appendsprite asc asin at atan back beep
syn keyword OPLStatement begintrans bookmark break busy byref cache
syn keyword OPLStatement cachehdr cacherec cachetidy call cancel caption
syn keyword OPLStatement changesprite chr$ clearflags close closesprite cls
syn keyword OPLStatement cmd$ committrans compact compress const continue
syn keyword OPLStatement copy cos count create createsprite cursor
syn keyword OPLStatement datetosecs datim$ day dayname$ days daystodate
syn keyword OPLStatement dbuttons dcheckbox dchoice ddate declare dedit
syn keyword OPLStatement deditmulti defaultwin deg delete dfile dfloat
syn keyword OPLStatement dialog diaminit diampos dinit dir$ dlong dow
syn keyword OPLStatement dposition drawsprite dtext dtime dxinput edit else
syn keyword OPLStatement elseif enda endif endv endwh entersend entersend0
syn keyword OPLStatement eof erase err err$ errx$ escape eval exist exp ext
syn keyword OPLStatement external find findfield findlib first fix$ flags
syn keyword OPLStatement flt font freealloc gat gborder gbox gbutton
syn keyword OPLStatement gcircle gclock gclose gcls gcolor gcopy gcreate
syn keyword OPLStatement gcreatebit gdrawobject gellipse gen$ get get$
syn keyword OPLStatement getcmd$ getdoc$ getevent getevent32 geteventa32
syn keyword OPLStatement geteventc getlibh gfill gfont ggmode ggrey gheight
syn keyword OPLStatement gidentity ginfo ginfo32 ginvert giprint glineby
syn keyword OPLStatement glineto gloadbit gloadfont global gmove gorder
syn keyword OPLStatement goriginx goriginy goto gotomark gpatt gpeekline
syn keyword OPLStatement gpoly gprint gprintb gprintclip grank gsavebit
syn keyword OPLStatement gscroll gsetpenwidth gsetwin gstyle gtmode gtwidth
syn keyword OPLStatement gunloadfont gupdate guse gvisible gwidth gx
syn keyword OPLStatement gxborder gxprint gy hex$ hour iabs icon if include
syn keyword OPLStatement input insert int intf intrans key key$ keya keyc
syn keyword OPLStatement killmark kmod last lclose left$ len lenalloc
syn keyword OPLStatement linklib ln loadlib loadm loc local lock log lopen
syn keyword OPLStatement lower$ lprint max mcard mcasc mean menu mid$ min
syn keyword OPLStatement minit minute mkdir modify month month$ mpopup
syn keyword OPLStatement newobj newobjh next notes num$ odbinfo off onerr
syn keyword OPLStatement open openr opx os parse$ path pause peek pi
syn keyword OPLStatement pointerfilter poke pos position possprite print
syn keyword OPLStatement put rad raise randomize realloc recsize rename
syn keyword OPLStatement rept$ return right$ rmdir rnd rollback sci$ screen
syn keyword OPLStatement screeninfo second secstodate send setdoc setflags
syn keyword OPLStatement setname setpath sin space sqr statuswin
syn keyword OPLStatement statwininfo std stop style sum tan testevent trap
syn keyword OPLStatement type uadd unloadlib unloadm until update upper$
syn keyword OPLStatement use usr usr$ usub val var vector week year
syn keyword OPLRepeat while do for
syn keyword OPLConstant NULL TRUE
syn keyword OPLType OuiBooleanT OuiCharT OuiDecimalT OuiFloatT OuiIntegerT
syn keyword OPLType OuiLongT OuiPointerT bool char class
"syn keyword attr
"syn keyword attribute
"syn keyword begin
"syn keyword class
"syn keyword const
"syn keyword constant
"syn keyword declid
"syn keyword div
"syn keyword doobrie
"syn keyword div
"syn keyword not
"syn keyword else
"syn keyword end
"syn keyword enum
"syn keyword export
"syn keyword extern
"syn keyword false
"syn keyword float
"syn keyword func
"syn keyword function
"syn keyword goto
"syn keyword if
"syn keyword in
"syn keyword init
"syn keyword FALSE
"syn keyword initially
"syn keyword inst
"syn keyword instance
"syn keyword int
"syn keyword local
"syn keyword long
"syn keyword message
"syn keyword mnemonic
"syn keyword not
"syn keyword of
"syn keyword on
"syn keyword or
"syn keyword priv
"syn keyword OuiShortT
"syn keyword OuiStringT
"syn keyword OuiZonedT
"syn keyword TRUE
"syn keyword accelerator
"syn keyword action
"syn keyword alias
"syn keyword and
"syn keyword array
"syn keyword private
"syn keyword pub
"syn keyword public
"syn keyword readonly
"syn keyword record
"syn keyword rem
"syn keyword repeat
"syn keyword return
"syn keyword short
"syn keyword slot
"syn keyword slotno
"syn keyword string
"syn keyword to
"syn keyword true
"syn keyword type
"syn keyword until
"syn keyword var
"syn keyword variable
"syn keyword virtual
"syn keyword when
"syn keyword while
"syn keyword zoned
" syn keyword OPLStatement rem
syn match OPLNumber "\<\d\+\>"
syn match OPLNumber "\<\d\+\.\d*\>"
syn match OPLNumber "\.\d\+\>"
syn region OPLString start=+"+ end=+"+
syn region OPLComment start="REM[\t ]" end="$"
syn match OPLMathsOperator "-\|=\|[:<>+\*^/\\]"
" Define the default highliting
hi def link OPLStatement Statement
hi def link OPLConstant Constant
hi def link OPLNumber Number
hi def link OPLString String
hi def link OPLComment Comment
hi def link OPLMathsOperator Conditional
hi def link OPLType Type
hi def link OPLError Error
let b:current_syntax = "opl"
" vim: ts=8

816
syntax/opl.xml Normal file
View File

@@ -0,0 +1,816 @@
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<MODE>
<PROPS>
<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
<!-- set this to 'true' if you want to use GNU coding style -->
<PROPERTY NAME="doubleBracketIndent" VALUE="false" />
<PROPERTY NAME="lineComment" VALUE="//" />
<PROPERTY NAME="commentStart" VALUE="/*" />
<PROPERTY NAME="commentEnd" VALUE="*/" />
<PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
</PROPS>
<RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
<!-- whitespace: (space and tab) -->
<!-- <WHITESPACE> </WHITESPACE>
<WHITESPACE> </WHITESPACE> -->
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
<BEGIN>'</BEGIN>
<END>'</END>
</SPAN>
<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
<SEQ TYPE="NULL">)</SEQ>
<SEQ TYPE="OPERATOR">=</SEQ>
<SEQ TYPE="OPERATOR">:</SEQ>
<SEQ TYPE="OPERATOR">!</SEQ>
<SEQ TYPE="OPERATOR">&gt;=</SEQ>
<SEQ TYPE="OPERATOR">&lt;=</SEQ>
<SEQ TYPE="OPERATOR">+</SEQ>
<SEQ TYPE="OPERATOR">-</SEQ>
<SEQ TYPE="OPERATOR">/</SEQ>
<SEQ TYPE="OPERATOR">*</SEQ>
<SEQ TYPE="OPERATOR">&gt;</SEQ>
<SEQ TYPE="OPERATOR">&lt;</SEQ>
<SEQ TYPE="OPERATOR">%</SEQ>
<SEQ TYPE="OPERATOR">&amp;</SEQ>
<SEQ TYPE="OPERATOR">|</SEQ>
<SEQ TYPE="OPERATOR">^</SEQ>
<SEQ TYPE="OPERATOR">~</SEQ>
<!-- <SEQ TYPE="OPERATOR">}</SEQ>
<SEQ TYPE="OPERATOR">{</SEQ> -->
<SEQ TYPE="NULL">.</SEQ>
<SEQ TYPE="NULL">,</SEQ>
<SEQ TYPE="NULL">;</SEQ>
<SEQ TYPE="NULL">]</SEQ>
<SEQ TYPE="NULL">[</SEQ>
<SEQ TYPE="NULL">?</SEQ>
<KEYWORDS IGNORE_CASE="FALSE">
<KEYWORD3>KeyAltBack</KEYWORD3>
<KEYWORD3>KeyAltBackTab</KEYWORD3>
<KEYWORD3>KeyAltCancel</KEYWORD3>
<KEYWORD3>KeyAltClrDisp</KEYWORD3>
<KEYWORD3>KeyAltClrLine</KEYWORD3>
<KEYWORD3>KeyAltCopy</KEYWORD3>
<KEYWORD3>KeyAltCut</KEYWORD3>
<KEYWORD3>KeyAltDelChar</KEYWORD3>
<KEYWORD3>KeyAltDelLine</KEYWORD3>
<KEYWORD3>KeyAltDo</KEYWORD3>
<KEYWORD3>KeyAltDown</KEYWORD3>
<KEYWORD3>KeyAltEof</KEYWORD3>
<KEYWORD3>KeyAltExtend</KEYWORD3>
<KEYWORD3>KeyAltForm</KEYWORD3>
<KEYWORD3>KeyAltHelp</KEYWORD3>
<KEYWORD3>KeyAltHome</KEYWORD3>
<KEYWORD3>KeyAltHomeD</KEYWORD3>
<KEYWORD3>KeyAltInsChar</KEYWORD3>
<KEYWORD3>KeyAltInsLine</KEYWORD3>
<KEYWORD3>KeyAltKeys</KEYWORD3>
<KEYWORD3>KeyAltLeft</KEYWORD3>
<KEYWORD3>KeyAltLocal</KEYWORD3>
<KEYWORD3>KeyAltLocalTab</KEYWORD3>
<KEYWORD3>KeyAltMenu</KEYWORD3>
<KEYWORD3>KeyAltMenuBar</KEYWORD3>
<KEYWORD3>KeyAltNext</KEYWORD3>
<KEYWORD3>KeyAltNull</KEYWORD3>
<KEYWORD3>KeyAltPaste</KEYWORD3>
<KEYWORD3>KeyAltPoint</KEYWORD3>
<KEYWORD3>KeyAltPrev</KEYWORD3>
<KEYWORD3>KeyAltPrint</KEYWORD3>
<KEYWORD3>KeyAltReplace</KEYWORD3>
<KEYWORD3>KeyAltReturn</KEYWORD3>
<KEYWORD3>KeyAltRight</KEYWORD3>
<KEYWORD3>KeyAltRollDn</KEYWORD3>
<KEYWORD3>KeyAltRollUp</KEYWORD3>
<KEYWORD3>KeyAltSelect</KEYWORD3>
<KEYWORD3>KeyAltSoft1</KEYWORD3>
<KEYWORD3>KeyAltSoft10</KEYWORD3>
<KEYWORD3>KeyAltSoft11</KEYWORD3>
<KEYWORD3>KeyAltSoft12</KEYWORD3>
<KEYWORD3>KeyAltSoft13</KEYWORD3>
<KEYWORD3>KeyAltSoft14</KEYWORD3>
<KEYWORD3>KeyAltSoft15</KEYWORD3>
<KEYWORD3>KeyAltSoft16</KEYWORD3>
<KEYWORD3>KeyAltSoft17</KEYWORD3>
<KEYWORD3>KeyAltSoft18</KEYWORD3>
<KEYWORD3>KeyAltSoft19</KEYWORD3>
<KEYWORD3>KeyAltSoft2</KEYWORD3>
<KEYWORD3>KeyAltSoft20</KEYWORD3>
<KEYWORD3>KeyAltSoft21</KEYWORD3>
<KEYWORD3>KeyAltSoft22</KEYWORD3>
<KEYWORD3>KeyAltSoft23</KEYWORD3>
<KEYWORD3>KeyAltSoft24</KEYWORD3>
<KEYWORD3>KeyAltSoft25</KEYWORD3>
<KEYWORD3>KeyAltSoft26</KEYWORD3>
<KEYWORD3>KeyAltSoft27</KEYWORD3>
<KEYWORD3>KeyAltSoft28</KEYWORD3>
<KEYWORD3>KeyAltSoft29</KEYWORD3>
<KEYWORD3>KeyAltSoft3</KEYWORD3>
<KEYWORD3>KeyAltSoft30</KEYWORD3>
<KEYWORD3>KeyAltSoft31</KEYWORD3>
<KEYWORD3>KeyAltSoft32</KEYWORD3>
<KEYWORD3>KeyAltSoft4</KEYWORD3>
<KEYWORD3>KeyAltSoft5</KEYWORD3>
<KEYWORD3>KeyAltSoft6</KEYWORD3>
<KEYWORD3>KeyAltSoft7</KEYWORD3>
<KEYWORD3>KeyAltSoft8</KEYWORD3>
<KEYWORD3>KeyAltSoft9</KEYWORD3>
<KEYWORD3>KeyAltTab</KEYWORD3>
<KEYWORD3>KeyAltTimer</KEYWORD3>
<KEYWORD3>KeyAltUp</KEYWORD3>
<KEYWORD3>KeyAltWindowList</KEYWORD3>
<KEYWORD3>KeyAltWindowMenu</KEYWORD3>
<KEYWORD3>KeyBack</KEYWORD3>
<KEYWORD3>KeyBackTab</KEYWORD3>
<KEYWORD3>KeyCancel</KEYWORD3>
<KEYWORD3>KeyClrDisp</KEYWORD3>
<KEYWORD3>KeyClrLine</KEYWORD3>
<KEYWORD3>KeyCopy</KEYWORD3>
<KEYWORD3>KeyCut</KEYWORD3>
<KEYWORD3>KeyDelChar</KEYWORD3>
<KEYWORD3>KeyDelLine</KEYWORD3>
<KEYWORD3>KeyDo</KEYWORD3>
<KEYWORD3>KeyDown</KEYWORD3>
<KEYWORD3>KeyEof</KEYWORD3>
<KEYWORD3>KeyExtend</KEYWORD3>
<KEYWORD3>KeyForm</KEYWORD3>
<KEYWORD3>KeyHelp</KEYWORD3>
<KEYWORD3>KeyHome</KEYWORD3>
<KEYWORD3>KeyHomeD</KEYWORD3>
<KEYWORD3>KeyInsChar</KEYWORD3>
<KEYWORD3>KeyInsLine</KEYWORD3>
<KEYWORD3>KeyKeys</KEYWORD3>
<KEYWORD3>KeyLeft</KEYWORD3>
<KEYWORD3>KeyLocal</KEYWORD3>
<KEYWORD3>KeyLocalTab</KEYWORD3>
<KEYWORD3>KeyMenu</KEYWORD3>
<KEYWORD3>KeyMenuBar</KEYWORD3>
<KEYWORD3>KeyNext</KEYWORD3>
<KEYWORD3>KeyNull</KEYWORD3>
<KEYWORD3>KeyPaste</KEYWORD3>
<KEYWORD3>KeyPoint</KEYWORD3>
<KEYWORD3>KeyPrev</KEYWORD3>
<KEYWORD3>KeyPrint</KEYWORD3>
<KEYWORD3>KeyReplace</KEYWORD3>
<KEYWORD3>KeyReturn</KEYWORD3>
<KEYWORD3>KeyRight</KEYWORD3>
<KEYWORD3>KeyRollDn</KEYWORD3>
<KEYWORD3>KeyRollUp</KEYWORD3>
<KEYWORD3>KeySelect</KEYWORD3>
<KEYWORD3>KeySoft1</KEYWORD3>
<KEYWORD3>KeySoft10</KEYWORD3>
<KEYWORD3>KeySoft11</KEYWORD3>
<KEYWORD3>KeySoft12</KEYWORD3>
<KEYWORD3>KeySoft13</KEYWORD3>
<KEYWORD3>KeySoft14</KEYWORD3>
<KEYWORD3>KeySoft15</KEYWORD3>
<KEYWORD3>KeySoft16</KEYWORD3>
<KEYWORD3>KeySoft17</KEYWORD3>
<KEYWORD3>KeySoft18</KEYWORD3>
<KEYWORD3>KeySoft19</KEYWORD3>
<KEYWORD3>KeySoft2</KEYWORD3>
<KEYWORD3>KeySoft20</KEYWORD3>
<KEYWORD3>KeySoft21</KEYWORD3>
<KEYWORD3>KeySoft22</KEYWORD3>
<KEYWORD3>KeySoft23</KEYWORD3>
<KEYWORD3>KeySoft24</KEYWORD3>
<KEYWORD3>KeySoft25</KEYWORD3>
<KEYWORD3>KeySoft26</KEYWORD3>
<KEYWORD3>KeySoft27</KEYWORD3>
<KEYWORD3>KeySoft28</KEYWORD3>
<KEYWORD3>KeySoft29</KEYWORD3>
<KEYWORD3>KeySoft3</KEYWORD3>
<KEYWORD3>KeySoft30</KEYWORD3>
<KEYWORD3>KeySoft31</KEYWORD3>
<KEYWORD3>KeySoft32</KEYWORD3>
<KEYWORD3>KeySoft4</KEYWORD3>
<KEYWORD3>KeySoft5</KEYWORD3>
<KEYWORD3>KeySoft6</KEYWORD3>
<KEYWORD3>KeySoft7</KEYWORD3>
<KEYWORD3>KeySoft8</KEYWORD3>
<KEYWORD3>KeySoft9</KEYWORD3>
<KEYWORD3>KeyTab</KEYWORD3>
<KEYWORD3>KeyTimer</KEYWORD3>
<KEYWORD3>KeyUp</KEYWORD3>
<KEYWORD3>KeyWindowList</KEYWORD3>
<KEYWORD3>KeyWindowMenu</KEYWORD3>
<KEYWORD3>OuiDestroy</KEYWORD3>
<KEYWORD3>OuiGetTime</KEYWORD3>
<KEYWORD3>OuiInstantiate</KEYWORD3>
<KEYWORD3>OuiListAppend</KEYWORD3>
<KEYWORD3>OuiListDeleteItem</KEYWORD3>
<KEYWORD3>OuiListFind</KEYWORD3>
<KEYWORD3>OuiListInsertItem</KEYWORD3>
<KEYWORD3>OuiListItems</KEYWORD3>
<KEYWORD3>OuiListNumItems</KEYWORD3>
<KEYWORD3>OuiListReFind</KEYWORD3>
<KEYWORD3>OuiListSort</KEYWORD3>
<KEYWORD3>OuiLookup</KEYWORD3>
<KEYWORD3>OuiPrefsClose</KEYWORD3>
<KEYWORD3>OuiPrefsGetBoolean</KEYWORD3>
<KEYWORD3>OuiPrefsGetEnum</KEYWORD3>
<KEYWORD3>OuiPrefsGetLong</KEYWORD3>
<KEYWORD3>OuiMessageHelponHelp</KEYWORD3>
<KEYWORD3>OuiMsgAbout</KEYWORD3>
<KEYWORD3>OuiMsgClose</KEYWORD3>
<KEYWORD3>OuiMsgCreationAborted</KEYWORD3>
<KEYWORD3>OuiMsgDbCommit</KEYWORD3>
<KEYWORD3>OuiMsgAny</KEYWORD3>
<KEYWORD3>OuiMsgKeyAny</KEYWORD3>
<KEYWORD3>OuiMsgKeyAnyPrintable</KEYWORD3>
<KEYWORD3>OuiMsgMouseAny</KEYWORD3>
<KEYWORD3>OuiMsgMouseAnyDbl</KEYWORD3>
<KEYWORD3>OuiMsgB1Down</KEYWORD3>
<KEYWORD3>OuiMsgB1Drag</KEYWORD3>
<KEYWORD3>OuiMsgB1Up</KEYWORD3>
<KEYWORD3>OuiMsgB2Down</KEYWORD3>
<KEYWORD3>OuiMsgB2Drag</KEYWORD3>
<KEYWORD3>OuiMsgB2Up</KEYWORD3>
<KEYWORD3>OuiMsgB3Down</KEYWORD3>
<KEYWORD3>OuiMsgB3Drag</KEYWORD3>
<KEYWORD3>OuiMsgB3Up</KEYWORD3>
<KEYWORD3>OuiMsgB4Down</KEYWORD3>
<KEYWORD3>OuiMsgB4Drag</KEYWORD3>
<KEYWORD3>OuiMsgB4Up</KEYWORD3>
<KEYWORD3>OuiMsgB5Down</KEYWORD3>
<KEYWORD3>OuiMsgB5Drag</KEYWORD3>
<KEYWORD3>OuiMsgB5Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1Dbl</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1Down</KEYWORD3>
<KEYWORD3>OuiMsgDbCommit</KEYWORD3>
<KEYWORD3>OuiMsgDbCommitResult</KEYWORD3>
<KEYWORD3>OuiMsgDbCommitResult</KEYWORD3>
<KEYWORD3>OuiMsgDbConnect</KEYWORD3>
<KEYWORD3>OuiMsgDbConnectResult</KEYWORD3>
<KEYWORD3>OuiMsgDbDisconnect</KEYWORD3>
<KEYWORD3>OuiMsgDbDisconnectResult</KEYWORD3>
<KEYWORD3>OuiMsgDbExecuteSQL</KEYWORD3>
<KEYWORD3>OuiMsgDbExecuteSQLResult</KEYWORD3>
<KEYWORD3>OuiMsgDefocus</KEYWORD3>
<KEYWORD3>OuiMsgDmDeleteMajor</KEYWORD3>
<KEYWORD3>OuiMsgDmDeleteMinor</KEYWORD3>
<KEYWORD3>OuiMsgDmInsertMajor</KEYWORD3>
<KEYWORD3>OuiMsgDmInsertMinor</KEYWORD3>
<KEYWORD3>OuiMsgDmInvalidateArea</KEYWORD3>
<KEYWORD3>OuiMsgDmNotify</KEYWORD3>
<KEYWORD3>OuiMsgDoublePick</KEYWORD3>
<KEYWORD3>OuiMsgDrag</KEYWORD3>
<KEYWORD3>OuiMsgDragCancel</KEYWORD3>
<KEYWORD3>OuiMsgDragDone</KEYWORD3>
<KEYWORD3>OuiMsgDragHelp</KEYWORD3>
<KEYWORD3>OuiMsgDragMotion</KEYWORD3>
<KEYWORD3>OuiMsgDragStart</KEYWORD3>
<KEYWORD3>OuiMsgDrop</KEYWORD3>
<KEYWORD3>OuiMsgEvaluatorChanged</KEYWORD3>
<KEYWORD3>OuiMsgEvaluatorDrag</KEYWORD3>
<KEYWORD3>OuiMsgExitApplication</KEYWORD3>
<KEYWORD3>OuiMsgFocus</KEYWORD3>
<KEYWORD3>OuiMsgFocusIn</KEYWORD3>
<KEYWORD3>OuiMsgFocusOut</KEYWORD3>
<KEYWORD3>OuiMsgFormStateChanged</KEYWORD3>
<KEYWORD3>OuiMsgGridDragged</KEYWORD3>
<KEYWORD3>OuiMsgHelp</KEYWORD3>
<KEYWORD3>OuiMsgHelpClearStatus</KEYWORD3>
<KEYWORD3>OuiMsgHelpClose</KEYWORD3>
<KEYWORD3>OuiMsgHelpContext</KEYWORD3>
<KEYWORD3>OuiMsgHelpHideHint</KEYWORD3>
<KEYWORD3>OuiMsgHelpIndex</KEYWORD3>
<KEYWORD3>OuiMsgHelpKey</KEYWORD3>
<KEYWORD3>OuiMsgHelpPick</KEYWORD3>
<KEYWORD3>OuiMsgHelpShowHint</KEYWORD3>
<KEYWORD3>OuiMsgHelpShowStatus</KEYWORD3>
<KEYWORD3>OuiMsgInvisible</KEYWORD3>
<KEYWORD3>OuiMsgLockClear</KEYWORD3>
<KEYWORD3>OuiMsgLockException</KEYWORD3>
<KEYWORD3>OuiMsgLockId</KEYWORD3>
<KEYWORD3>OuiMsgLockRelease</KEYWORD3>
<KEYWORD3>OuiMsgLockRequest</KEYWORD3>
<KEYWORD3>OuiMsgLowResources</KEYWORD3>
<KEYWORD3>OuiMsgMDIArrangeIcons</KEYWORD3>
<KEYWORD3>OuiMsgMDICascade</KEYWORD3>
<KEYWORD3>OuiMsgMDIClose</KEYWORD3>
<KEYWORD3>OuiMsgMDITile</KEYWORD3>
<KEYWORD3>OuiMsgMove</KEYWORD3>
<KEYWORD3>OuiMsgNewRadioButton</KEYWORD3>
<KEYWORD3>OuiMsgMouseAnyDown</KEYWORD3>
<KEYWORD3>OuiMsgMouseAnyDrag</KEYWORD3>
<KEYWORD3>OuiMsgMouseAnyUp</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1Drag</KEYWORD3>
<KEYWORD3>OuiMsgMouseB1Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Dbl</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Drag</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB2Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Dbl</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Drag</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB3Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB4Dbl</KEYWORD3>
<KEYWORD3>OuiMsgMouseB4Down</KEYWORD3>
<KEYWORD3>OuiMsgMouseB4Drag</KEYWORD3>
<KEYWORD3>OuiMsgMouseB4Up</KEYWORD3>
<KEYWORD3>OuiMsgMouseB5Dbl</KEYWORD3>
<KEYWORD3>OuiMsgMouseB5Dowkn</KEYWORD3>
<KEYWORD3>OuiMsgMouseB5Drag</KEYWORD3>
<KEYWORD3>OuiMsgMouseB5Up</KEYWORD3>
<KEYWORD3>OuiMsgNoResources</KEYWORD3>
<KEYWORD3>OuiMsgNothingCanHappen</KEYWORD3>
<KEYWORD3>OuiMsgPick</KEYWORD3>
<KEYWORD3>OuiMsgPlace</KEYWORD3>
<KEYWORD3>OuiMsgQueryExecute</KEYWORD3>
<KEYWORD3>OuiMsgQueryExecuteResult</KEYWORD3>
<KEYWORD3>OuiMsgQueryFetchRows</KEYWORD3>
<KEYWORD3>OuiMsgQueryFetchRowsResult</KEYWORD3>
<KEYWORD3>OuiMsgRubberLine</KEYWORD3>
<KEYWORD3>OuiMsgRubberRect</KEYWORD3>
<KEYWORD3>OuiMsgSelect</KEYWORD3>
<KEYWORD3>OuiMsgSelectionChange</KEYWORD3>
<KEYWORD3>OuiMsgSelectionDefocus</KEYWORD3>
<KEYWORD3>OuiMsgSelectionDoubleClick</KEYWORD3>
<KEYWORD3>OuiMsgSessionAborted</KEYWORD3>
<KEYWORD3>OuiMsgSize</KEYWORD3>
<KEYWORD3>OuiMsgTableDataArrived</KEYWORD3>
<KEYWORD3>OuiMsgTimer</KEYWORD3>
<KEYWORD3>OuiMsgTimerCancel</KEYWORD3>
<KEYWORD3>OuiMsgTnfData&lt;Type&gt;</KEYWORD3>
<KEYWORD3>OuiMsgTnfException</KEYWORD3>
<KEYWORD3>OuiMsgTnfInitiateRequest</KEYWORD3>
<KEYWORD3>OuiMsgTnfInitiateSupply</KEYWORD3>
<KEYWORD3>OuiMsgTopLeftChanged</KEYWORD3>
<KEYWORD3>OuiMsgTxnCancel</KEYWORD3>
<KEYWORD3>OuiMsgTxnCommit</KEYWORD3>
<KEYWORD3>OuiMsgTxnData&lt;Type&gt;</KEYWORD3>
<KEYWORD3>OuiMsgTxnException</KEYWORD3>
<KEYWORD3>OuiMsgTxnId</KEYWORD3>
<KEYWORD3>OuiMsgTxnIdRequest</KEYWORD3>
<KEYWORD3>OuiMsgTxnInitiateRequest</KEYWORD3>
<KEYWORD3>OuiMsgTxnInitiateSupply</KEYWORD3>
<KEYWORD3>OuiMsgVisible</KEYWORD3>
<KEYWORD3>OuiMsgWMFocusIn</KEYWORD3>
<KEYWORD3>OuiPrefsGetMask</KEYWORD3>
<KEYWORD3>OuiPrefsGetString</KEYWORD3>
<KEYWORD3>OuiPrefsItemEnumerate</KEYWORD3>
<KEYWORD3>OuiPrefsMerge</KEYWORD3>
<KEYWORD3>OuiPrefsOpen</KEYWORD3>
<KEYWORD3>OuiPrefsSave</KEYWORD3>
<KEYWORD3>OuiPrefsSectionEnumerate</KEYWORD3>
<KEYWORD3>OuiPrefsSetBoolean</KEYWORD3>
<KEYWORD3>OuiPrefsSetEnum</KEYWORD3>
<KEYWORD3>OuiPrefsSetLong</KEYWORD3>
<KEYWORD3>OuiPrefsSetMask</KEYWORD3>
<KEYWORD3>OuiPrefsSetString</KEYWORD3>
<KEYWORD3>OuiPrint</KEYWORD3>
<KEYWORD3>OuiQueueMessage</KEYWORD3>
<KEYWORD3>OuiReCmp</KEYWORD3>
<KEYWORD3>OuiReDestroy</KEYWORD3>
<KEYWORD3>OuiReExtract</KEYWORD3>
<KEYWORD3>OuiReMatch</KEYWORD3>
<KEYWORD3>OuiStrChr</KEYWORD3>
<KEYWORD3>OuiStrIsAlnum</KEYWORD3>
<KEYWORD3>OuiStrIsAlpha</KEYWORD3>
<KEYWORD3>OuiStrIsDigit</KEYWORD3>
<KEYWORD3>OuiStrIsLower</KEYWORD3>
<KEYWORD3>OuiStrIsPunct</KEYWORD3>
<KEYWORD3>OuiStrIsSpace</KEYWORD3>
<KEYWORD3>OuiStrIsUpper</KEYWORD3>
<KEYWORD3>OuiStrLen</KEYWORD3>
<KEYWORD3>OuiStrPad</KEYWORD3>
<KEYWORD3>OuiStrRChr</KEYWORD3>
<KEYWORD3>OuiStrStr</KEYWORD3>
<KEYWORD3>OuiStrToLower</KEYWORD3>
<KEYWORD3>OuiStrToUpper</KEYWORD3>
<KEYWORD3>OuiStrTrim</KEYWORD3>
<KEYWORD3>OuiSubStr</KEYWORD3>
<KEYWORD3>OuiSynchronize</KEYWORD3>
<KEYWORD3>OuiTrace</KEYWORD3>
<KEYWORD3>OuiWebBrowserLoadURL</KEYWORD3>
<KEYWORD2>AccelLabel</KEYWORD2>
<KEYWORD2>Active</KEYWORD2>
<KEYWORD2>ActiveCell</KEYWORD2>
<KEYWORD2>ActiveCellBackground</KEYWORD2>
<KEYWORD2>ActiveCellForeground</KEYWORD2>
<KEYWORD2>ActivePrefix</KEYWORD2>
<KEYWORD2>ActiveQuery</KEYWORD2>
<KEYWORD2>AlignHoriz</KEYWORD2>
<KEYWORD2>AlignVert</KEYWORD2>
<KEYWORD2>Alignment</KEYWORD2>
<KEYWORD2>AllowClose</KEYWORD2>
<KEYWORD2>AllowMaximize</KEYWORD2>
<KEYWORD2>AllowMinimize</KEYWORD2>
<KEYWORD2>AllowMove</KEYWORD2>
<KEYWORD2>AllowResize</KEYWORD2>
<KEYWORD2>AspectLock</KEYWORD2>
<KEYWORD2>AspectRatio</KEYWORD2>
<KEYWORD2>AutoCommit</KEYWORD2>
<KEYWORD2>AutoFlow</KEYWORD2>
<KEYWORD2>AutoResizePolicy</KEYWORD2>
<KEYWORD2>Background</KEYWORD2>
<KEYWORD2>BaseHeight</KEYWORD2>
<KEYWORD2>BaseWidth</KEYWORD2>
<KEYWORD2>BeepOnDiscard</KEYWORD2>
<KEYWORD2>BorderStyle</KEYWORD2>
<KEYWORD2>BorderStyle</KEYWORD2>
<KEYWORD2>BorderWidth</KEYWORD2>
<KEYWORD2>Bounds</KEYWORD2>
<KEYWORD2>ButtonModifiers</KEYWORD2>
<KEYWORD2>ButtonNumber</KEYWORD2>
<KEYWORD2>Bytes</KEYWORD2>
<KEYWORD2>CatName</KEYWORD2>
<KEYWORD2>CatSetNum</KEYWORD2>
<KEYWORD2>Changed</KEYWORD2>
<KEYWORD2>Class</KEYWORD2>
<KEYWORD2>Closed</KEYWORD2>
<KEYWORD2>ColumnCount</KEYWORD2>
<KEYWORD2>ColumnLengths</KEYWORD2>
<KEYWORD2>ColumnNames</KEYWORD2>
<KEYWORD2>ColumnTypes</KEYWORD2>
<KEYWORD2>ComboBoxStyle</KEYWORD2>
<KEYWORD2>CommitDirection</KEYWORD2>
<KEYWORD2>Connected</KEYWORD2>
<KEYWORD2>CursorName</KEYWORD2>
<KEYWORD2>DataDemandPolicy</KEYWORD2>
<KEYWORD2>DataOrigin</KEYWORD2>
<KEYWORD2>DataPendingPolicy</KEYWORD2>
<KEYWORD2>DatasourceName</KEYWORD2>
<KEYWORD2>DateInputFormat</KEYWORD2>
<KEYWORD2>DecimalPoints</KEYWORD2>
<KEYWORD2>Depth</KEYWORD2>
<KEYWORD2>Direction</KEYWORD2>
<KEYWORD2>DiscardInput</KEYWORD2>
<KEYWORD2>DrawGridColor</KEYWORD2>
<KEYWORD2>DrawGridStyle</KEYWORD2>
<KEYWORD2>DynamicGrid</KEYWORD2>
<KEYWORD2>EdgeStyle</KEYWORD2>
<KEYWORD2>EdgeWidth</KEYWORD2>
<KEYWORD2>Editable</KEYWORD2>
<KEYWORD2>Editable</KEYWORD2>
<KEYWORD2>ErrorText</KEYWORD2>
<KEYWORD2>ExtendClassLibrary</KEYWORD2>
<KEYWORD2>FastDraw</KEYWORD2>
<KEYWORD2>FillAlternate</KEYWORD2>
<KEYWORD2>FillAngle</KEYWORD2>
<KEYWORD2>FocusItem</KEYWORD2>
<KEYWORD2>Font</KEYWORD2>
<KEYWORD2>Font</KEYWORD2>
<KEYWORD2>Font</KEYWORD2>
<KEYWORD2>Font</KEYWORD2>
<KEYWORD2>Font</KEYWORD2>
<KEYWORD2>Foreground</KEYWORD2>
<KEYWORD2>FormState</KEYWORD2>
<KEYWORD2>GUIType</KEYWORD2>
<KEYWORD2>GrabInput</KEYWORD2>
<KEYWORD2>Height</KEYWORD2>
<KEYWORD2>HeightInc</KEYWORD2>
<KEYWORD2>HelpId</KEYWORD2>
<KEYWORD2>IconImage</KEYWORD2>
<KEYWORD2>IconX</KEYWORD2>
<KEYWORD2>Image</KEYWORD2>
<KEYWORD2>ImageData</KEYWORD2>
<KEYWORD2>ImageTileName</KEYWORD2>
<KEYWORD2>Increment</KEYWORD2>
<KEYWORD2>IncrementMulti</KEYWORD2>
<KEYWORD2>IndexMajor</KEYWORD2>
<KEYWORD2>IndexMinor</KEYWORD2>
<KEYWORD2>InputEdit</KEYWORD2>
<KEYWORD2>InputMode</KEYWORD2>
<KEYWORD2>InsensColor</KEYWORD2>
<KEYWORD2>InsensColor</KEYWORD2>
<KEYWORD2>InsertMode</KEYWORD2>
<KEYWORD2>IsDefault</KEYWORD2>
<KEYWORD2>ItemCount</KEYWORD2>
<KEYWORD2>Items</KEYWORD2>
<KEYWORD2>JumpScroll</KEYWORD2>
<KEYWORD2>Label</KEYWORD2>
<KEYWORD2>LabelDisplayPolicy</KEYWORD2>
<KEYWORD2>LastNativeError</KEYWORD2>
<KEYWORD2>Length</KEYWORD2>
<KEYWORD2>LineStyle</KEYWORD2>
<KEYWORD2>LineWidth</KEYWORD2>
<KEYWORD2>LockedColumns</KEYWORD2>
<KEYWORD2>LockedRows</KEYWORD2>
<KEYWORD2>MajorCount</KEYWORD2>
<KEYWORD2>MajorIncrement</KEYWORD2>
<KEYWORD2>MarginHeight</KEYWORD2>
<KEYWORD2>MarginHeight</KEYWORD2>
<KEYWORD2>MarginWidth</KEYWORD2>
<KEYWORD2>MarginWidth</KEYWORD2>
<KEYWORD2>MaxAspectX</KEYWORD2>
<KEYWORD2>MaxAspectY</KEYWORD2>
<KEYWORD2>MaxBytes</KEYWORD2>
<KEYWORD2>MaxBytes</KEYWORD2>
<KEYWORD2>MaxHeight</KEYWORD2>
<KEYWORD2>MaxOffsetHoriz</KEYWORD2>
<KEYWORD2>MaxOffsetVert</KEYWORD2>
<KEYWORD2>MaxWidth</KEYWORD2>
<KEYWORD2>Maximized</KEYWORD2>
<KEYWORD2>MinAspectX</KEYWORD2>
<KEYWORD2>MinAspectY</KEYWORD2>
<KEYWORD2>MinChars</KEYWORD2>
<KEYWORD2>MinChars</KEYWORD2>
<KEYWORD2>MinColumns</KEYWORD2>
<KEYWORD2>MinHeight</KEYWORD2>
<KEYWORD2>MinLines</KEYWORD2>
<KEYWORD2>MinRows</KEYWORD2>
<KEYWORD2>MinWidth</KEYWORD2>
<KEYWORD2>Mnemonic</KEYWORD2>
<KEYWORD2>Modal</KEYWORD2>
<KEYWORD2>Mode</KEYWORD2>
<KEYWORD2>NPoints</KEYWORD2>
<KEYWORD2>NPoints</KEYWORD2>
<KEYWORD2>Name</KEYWORD2>
<KEYWORD2>NativeHandle</KEYWORD2>
<KEYWORD2>NativeHandle</KEYWORD2>
<KEYWORD2>NativeHandle</KEYWORD2>
<KEYWORD2>NavigateLocked</KEYWORD2>
<KEYWORD2>Offset</KEYWORD2>
<KEYWORD2>OffsetHoriz</KEYWORD2>
<KEYWORD2>OffsetVert</KEYWORD2>
<KEYWORD2>OnDesktop</KEYWORD2>
<KEYWORD2>Orientation</KEYWORD2>
<KEYWORD2>OutputEdit</KEYWORD2>
<KEYWORD2>OutputFormat</KEYWORD2>
<KEYWORD2>OverrideRedirect</KEYWORD2>
<KEYWORD2>PageSize</KEYWORD2>
<KEYWORD2>PagesLocked</KEYWORD2>
<KEYWORD2>PagesMemory</KEYWORD2>
<KEYWORD2>PagingPolicy</KEYWORD2>
<KEYWORD2>Parent</KEYWORD2>
<KEYWORD2>PassivePrefix</KEYWORD2>
<KEYWORD2>PasswordChar</KEYWORD2>
<KEYWORD2>Pattern</KEYWORD2>
<KEYWORD2>Placement</KEYWORD2>
<KEYWORD2>PlacementDetail</KEYWORD2>
<KEYWORD2>PlacementPolicy</KEYWORD2>
<KEYWORD2>Points</KEYWORD2>
<KEYWORD2>PositionX</KEYWORD2>
<KEYWORD2>PositionY</KEYWORD2>
<KEYWORD2>PrimarySource</KEYWORD2>
<KEYWORD2>PrimarySource</KEYWORD2>
<KEYWORD2>QueryType</KEYWORD2>
<KEYWORD2>Radio</KEYWORD2>
<KEYWORD2>RadiusMajor</KEYWORD2>
<KEYWORD2>RadiusMinor</KEYWORD2>
<KEYWORD2>RangeHoriz</KEYWORD2>
<KEYWORD2>RangeMajor</KEYWORD2>
<KEYWORD2>RangeMinor</KEYWORD2>
<KEYWORD2>RangeVert</KEYWORD2>
<KEYWORD2>RealizePolicy</KEYWORD2>
<KEYWORD2>RotateAngle</KEYWORD2>
<KEYWORD2>RowMajor</KEYWORD2>
<KEYWORD2>RowMajor</KEYWORD2>
<KEYWORD2>SaveUnder</KEYWORD2>
<KEYWORD2>ScaleX</KEYWORD2>
<KEYWORD2>ScaleY</KEYWORD2>
<KEYWORD2>ScreenHeight,</KEYWORD2>
<KEYWORD2>ScreenWidth</KEYWORD2>
<KEYWORD2>ScrollBarPlacement</KEYWORD2>
<KEYWORD2>ScrollBarTroughColor</KEYWORD2>
<KEYWORD2>ScrollHoriz</KEYWORD2>
<KEYWORD2>ScrollVert</KEYWORD2>
<KEYWORD2>Sector</KEYWORD2>
<KEYWORD2>SelectedAreas</KEYWORD2>
<KEYWORD2>SelectedItemBG</KEYWORD2>
<KEYWORD2>SelectedItemCount</KEYWORD2>
<KEYWORD2>SelectedItemFG</KEYWORD2>
<KEYWORD2>SelectedItemList</KEYWORD2>
<KEYWORD2>SelectedItemMap</KEYWORD2>
<KEYWORD2>SelectedItems</KEYWORD2>
<KEYWORD2>SelectedText</KEYWORD2>
<KEYWORD2>SelectionBackground</KEYWORD2>
<KEYWORD2>SelectionForeground</KEYWORD2>
<KEYWORD2>SelectionLength</KEYWORD2>
<KEYWORD2>SelectionPolicy</KEYWORD2>
<KEYWORD2>SelectionPolicy</KEYWORD2>
<KEYWORD2>SelectionStart</KEYWORD2>
<KEYWORD2>Self</KEYWORD2>
<KEYWORD2>Sensitive</KEYWORD2>
<KEYWORD2>Sensitive</KEYWORD2>
<KEYWORD2>ShortHelpText</KEYWORD2>
<KEYWORD2>ShowButtons</KEYWORD2>
<KEYWORD2>ShowIndicator</KEYWORD2>
<KEYWORD2>ShowMinimize</KEYWORD2>
<KEYWORD2>ShowResizeHandles</KEYWORD2>
<KEYWORD2>ShowSysMenu</KEYWORD2>
<KEYWORD2>ShowTitle</KEYWORD2>
<KEYWORD2>ShowValue</KEYWORD2>
<KEYWORD2>SizeVisible</KEYWORD2>
<KEYWORD2>SoftKey</KEYWORD2>
<KEYWORD2>SpaceColumns</KEYWORD2>
<KEYWORD2>SpaceItems</KEYWORD2>
<KEYWORD2>SpaceRows</KEYWORD2>
<KEYWORD2>SpanX</KEYWORD2>
<KEYWORD2>SpanY</KEYWORD2>
<KEYWORD2>StartAngle</KEYWORD2>
<KEYWORD2>StretchHoriz</KEYWORD2>
<KEYWORD2>StretchVert</KEYWORD2>
<KEYWORD2>Style</KEYWORD2>
<KEYWORD2>Suffix</KEYWORD2>
<KEYWORD2>Template</KEYWORD2>
<KEYWORD2>Thickness</KEYWORD2>
<KEYWORD2>ThumbSize</KEYWORD2>
<KEYWORD2>Title</KEYWORD2>
<KEYWORD2>Title</KEYWORD2>
<KEYWORD2>TitleFont</KEYWORD2>
<KEYWORD2>TitlePlacement</KEYWORD2>
<KEYWORD2>Toggle</KEYWORD2>
<KEYWORD2>TopLeft</KEYWORD2>
<KEYWORD2>Trace</KEYWORD2>
<KEYWORD2>Transient</KEYWORD2>
<KEYWORD2>Traversable</KEYWORD2>
<KEYWORD2>TroughColor</KEYWORD2>
<KEYWORD2>UniformColumns</KEYWORD2>
<KEYWORD2>UniformRows</KEYWORD2>
<KEYWORD2>Units</KEYWORD2>
<KEYWORD2>Updatable</KEYWORD2>
<KEYWORD2>Valid</KEYWORD2>
<KEYWORD2>Value</KEYWORD2>
<KEYWORD2>Value</KEYWORD2>
<KEYWORD2>ValueMax</KEYWORD2>
<KEYWORD2>ValueMin</KEYWORD2>
<KEYWORD2>Visible</KEYWORD2>
<KEYWORD2>VisibleColumns</KEYWORD2>
<KEYWORD2>VisibleItems</KEYWORD2>
<KEYWORD2>VisibleRows</KEYWORD2>
<KEYWORD2>Width</KEYWORD2>
<KEYWORD2>WidthInc</KEYWORD2>
<KEYWORD2>WorldCoords</KEYWORD2>
<KEYWORD2>WrapMode</KEYWORD2>
<KEYWORD2>WrapNavigation</KEYWORD2>
<KEYWORD2>X</KEYWORD2>
<KEYWORD2>Y</KEYWORD2>
<!-- maybe this should be something else... -->
<KEYWORD1>attr</KEYWORD1>
<KEYWORD1>attribute</KEYWORD1>
<KEYWORD1>begin</KEYWORD1>
<KEYWORD1>bool</KEYWORD1>
<KEYWORD1>char</KEYWORD1>
<KEYWORD1>class</KEYWORD1>
<KEYWORD1>const</KEYWORD1>
<KEYWORD1>constant</KEYWORD1>
<KEYWORD1>declid</KEYWORD1>
<KEYWORD1>div</KEYWORD1>
<KEYWORD1>doobrie</KEYWORD1>
<KEYWORD1>div</KEYWORD1>
<KEYWORD1>not</KEYWORD1>
<KEYWORD1>else</KEYWORD1>
<KEYWORD1>end</KEYWORD1>
<KEYWORD1>enum</KEYWORD1>
<KEYWORD1>export</KEYWORD1>
<KEYWORD1>extern</KEYWORD1>
<KEYWORD1>false</KEYWORD1>
<KEYWORD1>float</KEYWORD1>
<KEYWORD1>for</KEYWORD1>
<KEYWORD1>func</KEYWORD1>
<KEYWORD1>function</KEYWORD1>
<KEYWORD1>goto</KEYWORD1>
<KEYWORD1>if</KEYWORD1>
<KEYWORD1>in</KEYWORD1>
<KEYWORD1>init</KEYWORD1>
<KEYWORD1>FALSE</KEYWORD1>
<KEYWORD1>NULL</KEYWORD1>
<KEYWORD1>TRUE</KEYWORD1>
<KEYWORD1>OuiBooleanT</KEYWORD1>
<KEYWORD1>OuiCharT</KEYWORD1>
<KEYWORD1>OuiDecimalT</KEYWORD1>
<KEYWORD1>OuiFloatT</KEYWORD1>
<KEYWORD1>OuiIntegerT</KEYWORD1>
<KEYWORD1>OuiLongT</KEYWORD1>
<KEYWORD1>OuiPointerT</KEYWORD1>
<KEYWORD1>initially</KEYWORD1>
<KEYWORD1>inst</KEYWORD1>
<KEYWORD1>instance</KEYWORD1>
<KEYWORD1>int</KEYWORD1>
<KEYWORD1>local</KEYWORD1>
<KEYWORD1>long</KEYWORD1>
<KEYWORD1>message</KEYWORD1>
<KEYWORD1>mnemonic</KEYWORD1>
<KEYWORD1>not</KEYWORD1>
<KEYWORD1>of</KEYWORD1>
<KEYWORD1>on</KEYWORD1>
<KEYWORD1>or</KEYWORD1>
<KEYWORD1>priv</KEYWORD1>
<KEYWORD1>OuiShortT</KEYWORD1>
<KEYWORD1>OuiStringT</KEYWORD1>
<KEYWORD1>OuiZonedT</KEYWORD1>
<KEYWORD1>TRUE</KEYWORD1>
<KEYWORD1>accelerator</KEYWORD1>
<KEYWORD1>action</KEYWORD1>
<KEYWORD1>alias</KEYWORD1>
<KEYWORD1>and</KEYWORD1>
<KEYWORD1>array</KEYWORD1>
<KEYWORD1>private</KEYWORD1>
<KEYWORD1>pub</KEYWORD1>
<KEYWORD1>public</KEYWORD1>
<KEYWORD1>readonly</KEYWORD1>
<KEYWORD1>record</KEYWORD1>
<KEYWORD1>rem</KEYWORD1>
<KEYWORD1>repeat</KEYWORD1>
<KEYWORD1>return</KEYWORD1>
<KEYWORD1>short</KEYWORD1>
<KEYWORD1>slot</KEYWORD1>
<KEYWORD1>slotno</KEYWORD1>
<KEYWORD1>string</KEYWORD1>
<KEYWORD1>to</KEYWORD1>
<KEYWORD1>true</KEYWORD1>
<KEYWORD1>type</KEYWORD1>
<KEYWORD1>until</KEYWORD1>
<KEYWORD1>var</KEYWORD1>
<KEYWORD1>variable</KEYWORD1>
<KEYWORD1>virtual</KEYWORD1>
<KEYWORD1>when</KEYWORD1>
<KEYWORD1>while</KEYWORD1>
<KEYWORD1>zoned</KEYWORD1>
<KEYWORD2>Application</KEYWORD2>
<KEYWORD2>Button</KEYWORD2>
<KEYWORD2>Evaluator</KEYWORD2>
<KEYWORD2>Filledge</KEYWORD2>
<KEYWORD2>Graphic</KEYWORD2>
<KEYWORD2>Menu</KEYWORD2>
<KEYWORD2>OuiObj</KEYWORD2>
<KEYWORD2>Region</KEYWORD2>
<KEYWORD2>Scrollable</KEYWORD2>
<KEYWORD2>dataManager</KEYWORD2>
<KEYWORD2>database</KEYWORD2>
<KEYWORD2>devFontDialog</KEYWORD2>
<KEYWORD2>dialogb</KEYWORD2>
<KEYWORD2>diversion</KEYWORD2>
<KEYWORD2>editText</KEYWORD2>
<KEYWORD2>fontDialog</KEYWORD2>
<KEYWORD2>form</KEYWORD2>
<KEYWORD2>graphicCompound</KEYWORD2>
<KEYWORD2>groupBox</KEYWORD2>
<KEYWORD2>horizontalSep</KEYWORD2>
<KEYWORD2>interactor</KEYWORD2>
<KEYWORD2>label</KEYWORD2>
<KEYWORD2>list</KEYWORD2>
<KEYWORD2>mdiFrameForm</KEYWORD2>
<KEYWORD2>menuBar</KEYWORD2>
<KEYWORD2>menuBarButton</KEYWORD2>
<KEYWORD2>menuButton</KEYWORD2>
<KEYWORD2>menuCascadeButton</KEYWORD2>
<KEYWORD2>menuPushButton</KEYWORD2>
<KEYWORD2>menuRadioButton</KEYWORD2>
<KEYWORD2>menuToggleButton</KEYWORD2>
<KEYWORD2>messageBox</KEYWORD2>
<KEYWORD2>module</KEYWORD2>
<KEYWORD2>multiTextL</KEYWORD2>
<KEYWORD2>multiTextW</KEYWORD2>
<KEYWORD2>openSaveDialog</KEYWORD2>
<KEYWORD2>optionMenu</KEYWORD2>
<KEYWORD2>panel</KEYWORD2>
<KEYWORD2>popupMenu</KEYWORD2>
<KEYWORD2>pulldown</KEYWORD2>
<KEYWORD2>pushButton</KEYWORD2>
<KEYWORD2>query</KEYWORD2>
<KEYWORD2>radioButton</KEYWORD2>
<KEYWORD2>radioPushButton</KEYWORD2>
<KEYWORD2>scene</KEYWORD2>
<KEYWORD2>scrollbar</KEYWORD2>
<KEYWORD2>session</KEYWORD2>
<KEYWORD2>slider</KEYWORD2>
<KEYWORD2>spline</KEYWORD2>
<KEYWORD2>statusText</KEYWORD2>
<KEYWORD2>table</KEYWORD2>
<KEYWORD2>timer</KEYWORD2>
<KEYWORD2>toggleButton</KEYWORD2>
<KEYWORD2>Separator</KEYWORD2>
<KEYWORD2>StandardDialog</KEYWORD2>
<KEYWORD2>Visual</KEYWORD2>
<KEYWORD2>arc</KEYWORD2>
<KEYWORD2>cascade</KEYWORD2>
<KEYWORD2>colorDialog</KEYWORD2>
<KEYWORD2>comboBox</KEYWORD2>
<KEYWORD2>controlBar</KEYWORD2>
<KEYWORD2>togglePushButton</KEYWORD2>
<KEYWORD2>tpMenuBar</KEYWORD2>
<KEYWORD2>tpSpreadSheet</KEYWORD2>
<KEYWORD2>tpStatusBar</KEYWORD2>
<KEYWORD2>tpTable</KEYWORD2>
<KEYWORD2>tpToolBar</KEYWORD2>
<KEYWORD2>verticalSep</KEYWORD2>
</KEYWORDS>
</RULES>
</MODE>

234
syntax/pd_opl.syn Normal file
View File

@@ -0,0 +1,234 @@
#===========================================================
#
# MED file mode definition file
# Last updated: 02.12.2004 11:42
#
#===========================================================
files: *.opl
title: Open UI's OPL
default: no
caseSensitive: yes
checkCommentInString: yes
shiftDistance: 1
tabWidth: 8
tabLoadExpand: 0
tabInsAsBlank: 1
sectionRegexp: (^[ ]*)(class|function)[ ]+([a-zA-Z0-9_\$]+)
sectionDisplayRegexp: (^[ ]*)(class|function)[ ]+([a-zA-Z0-9_\$]+) *[:\(] *([^\(\)/]*)[\): ]*([^/\(\){}]*)
sectionBrowserOrder: 2, 3, 4, 5
sectionDisplayOrder: 2, 3
sectionBrowserMainKey: 3
sectionDisplay: 5000, 1000
wordWrap: disabled 70 >!:~#
wordSep:'&()[]{}\<>.,;-+*:?!=-|"/~
# 3rd party online help
inf: cmd.exe|/C|internet|%h http://info.propack-data.de/Doku/Programmierung/OpenUI/htmlindx.htm * http://info.propack-data.de/Doku/Programmierung/OpenUI/htmlindx.htm
# brackets
bracket: ( ) 1
bracket: { } 1
bracket: [ ] 0
# Color definitions
defineColor: myGreen 0 100 10
defineColor: myDarkYellow 150 150 0
defineColor: myDarkBlue 0 0 150
defineColor: myDarkRed 200 0 0
defineColor: myDarkestRed 150 0 0
defineColor: myLightGray 220 220 220
foregroundColor: black
backgroundColor: white
blockColor: myLightGray
# Reserved words
color: blue, normal, blue, bold
token: FALSE OuiBooleanT OuiCharT OuiDecimalT OuiFloatT OuiIntegerT OuiLongT OuiPointerT
token: OuiShortT OuiStringT OuiZonedT TRUE accelerator action alias and array
token: attr attribute begin bool char class const constant declid div doobrie
token: else end enum export extern false float for func function goto if in init
token: initially inst instance int local long message mnemonic not of on or priv
token: private pub public readonly record rem repeat return short slot slotno
token: string to true type until var variable virtual when while zoned
color: myDarkRed, normal, myDarkRed, normal
token: Application Button Evaluator Filledge Graphic Menu OuiObj Region Scrollable
token: Separator StandardDialog Visual arc cascade colorDialog comboBox controlBar
token: dataManager database devFontDialog dialogb diversion editText fontDialog
token: form graphicCompound groupBox horizontalSep interactor label list mdiFrameForm
token: menuBar menuBarButton menuButton menuCascadeButton menuPushButton menuRadioButton
token: menuToggleButton messageBox module multiTextL multiTextW openSaveDialog
token: optionMenu panel popupMenu pulldown pushButton query radioButton radioPushButton
token: scene scrollbar session slider spline statusText table timer toggleButton
token: togglePushButton tpMenuBar tpSpreadSheet tpStatusBar tpTable tpToolBar
token: verticalSep
color: myGreen, normal, myGreen, normal
token: AccelLabel Active ActiveCell ActiveCellBackground ActiveCellForeground
token: ActivePrefix ActiveQuery AlignHoriz AlignVert Alignment AllowClose AllowMaximize
token: AllowMinimize AllowMove AllowResize AspectLock AspectRatio AutoCommit AutoFlow
token: AutoResizePolicy BaseHeight BaseWidth BeepOnDiscard BorderStyle BorderStyle
token: BorderWidth Bounds ButtonModifiers ButtonNumber Bytes CatName CatSetNum
token: Changed Class Closed ColumnCount ColumnLengths ColumnNames ColumnTypes
token: ComboBoxStyle CommitDirection Connected CursorName DataDemandPolicy DataOrigin
token: DataPendingPolicy DatasourceName DateInputFormat DecimalPoints Depth Direction
token: DiscardInput DrawGridColor DrawGridStyle DynamicGrid EdgeStyle EdgeWidth
token: Editable Editable ErrorText ExtendClassLibrary FastDraw FillAlternate FillAngle
token: FocusItem Font Font Font Font Font Foreground FormState GUIType GrabInput
token: Height HeightInc HelpId IconImage IconX Image ImageData ImageTileName Increment
token: IncrementMulti IndexMajor IndexMinor InputEdit InputMode InsensColor InsensColor
token: InsertMode IsDefault ItemCount Items JumpScroll Label LabelDisplayPolicy
token: LastNativeError Length LineStyle LineWidth LockedColumns LockedRows MajorCount
token: MajorIncrement MarginHeight MarginHeight MarginWidth MarginWidth MaxAspectX
token: MaxAspectY MaxBytes MaxBytes MaxHeight MaxOffsetHoriz MaxOffsetVert MaxWidth
token: Maximized MinAspectX MinAspectY MinChars MinChars MinColumns MinHeight
token: MinLines MinRows MinWidth Mnemonic Modal Mode NPoints NPoints Name NativeHandle
token: NativeHandle NativeHandle NavigateLocked Offset OffsetHoriz OffsetVert
token: OnDesktop Orientation OutputEdit OutputFormat OverrideRedirect PageSize
token: PagesLocked PagesMemory PagingPolicy Parent PassivePrefix PasswordChar
token: Pattern Placement PlacementDetail PlacementPolicy Points PositionX PositionY
token: PrimarySource PrimarySource QueryType Radio RadiusMajor RadiusMinor RangeHoriz
token: RangeMajor RangeMinor RangeVert RealizePolicy RotateAngle RowMajor RowMajor
token: SaveUnder ScaleX ScaleY ScreenHeight, ScreenWidth ScrollBarPlacement ScrollBarTroughColor
token: ScrollHoriz ScrollVert Sector SelectedAreas SelectedItemBG SelectedItemCount
token: SelectedItemFG SelectedItemList SelectedItemMap SelectedItems SelectedText
token: SelectionBackground SelectionForeground SelectionLength SelectionPolicy
token: SelectionPolicy SelectionStart Self Sensitive Sensitive ShortHelpText ShowButtons
token: ShowIndicator ShowMinimize ShowResizeHandles ShowSysMenu ShowTitle ShowValue
token: SizeVisible SoftKey SpaceColumns SpaceItems SpaceRows SpanX SpanY StartAngle
token: StretchHoriz StretchVert Style Suffix Template Thickness ThumbSize Title
token: Title TitleFont TitlePlacement Toggle TopLeft Trace Transient Traversable
token: TroughColor UniformColumns UniformRows Units Updatable Valid Value Value
token: ValueMax ValueMin Visible VisibleColumns VisibleItems VisibleRows Width
token: WidthInc WorldCoords WrapMode WrapNavigation X Y
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiDestroy OuiGetTime OuiInstantiate OuiListAppend OuiListDeleteItem OuiListFind
token: OuiListInsertItem OuiListItems OuiListNumItems OuiListReFind OuiListSort
token: OuiLookup OuiPrefsClose OuiPrefsGetBoolean OuiPrefsGetEnum OuiPrefsGetLong
token: OuiPrefsGetMask OuiPrefsGetString OuiPrefsItemEnumerate OuiPrefsMerge OuiPrefsOpen
token: OuiPrefsSave OuiPrefsSectionEnumerate OuiPrefsSetBoolean OuiPrefsSetEnum
token: OuiPrefsSetLong OuiPrefsSetMask OuiPrefsSetString OuiPrint OuiQueueMessage
token: OuiReCmp OuiReDestroy OuiReExtract OuiReMatch OuiStrChr OuiStrIsAlnum OuiStrIsAlpha
token: OuiStrIsDigit OuiStrIsLower OuiStrIsPunct OuiStrIsSpace OuiStrIsUpper OuiStrLen
token: OuiStrPad OuiStrRChr OuiStrStr OuiStrToLower OuiStrToUpper OuiStrTrim OuiSubStr
token: OuiSynchronize OuiTrace OuiWebBrowserLoadURL
color: myDarkestRed, normal, myDarkestRed, normal
token: KeyAltBack KeyAltBackTab KeyAltCancel KeyAltClrDisp KeyAltClrLine KeyAltCopy
token: KeyAltCut KeyAltDelChar KeyAltDelLine KeyAltDo KeyAltDown KeyAltEof KeyAltExtend
token: KeyAltForm KeyAltHelp KeyAltHome KeyAltHomeD KeyAltInsChar KeyAltInsLine
token: KeyAltKeys KeyAltLeft KeyAltLocal KeyAltLocalTab KeyAltMenu KeyAltMenuBar
token: KeyAltNext KeyAltNull KeyAltPaste KeyAltPoint KeyAltPrev KeyAltPrint KeyAltReplace
token: KeyAltReturn KeyAltRight KeyAltRollDn KeyAltRollUp KeyAltSelect KeyAltSoft1
token: KeyAltSoft10 KeyAltSoft11 KeyAltSoft12 KeyAltSoft13 KeyAltSoft14 KeyAltSoft15
token: KeyAltSoft16 KeyAltSoft17 KeyAltSoft18 KeyAltSoft19 KeyAltSoft2 KeyAltSoft20
token: KeyAltSoft21 KeyAltSoft22 KeyAltSoft23 KeyAltSoft24 KeyAltSoft25 KeyAltSoft26
token: KeyAltSoft27 KeyAltSoft28 KeyAltSoft29 KeyAltSoft3 KeyAltSoft30 KeyAltSoft31
token: KeyAltSoft32 KeyAltSoft4 KeyAltSoft5 KeyAltSoft6 KeyAltSoft7 KeyAltSoft8
token: KeyAltSoft9 KeyAltTab KeyAltTimer KeyAltUp KeyAltWindowList KeyAltWindowMenu
token: KeyBack KeyBackTab KeyCancel KeyClrDisp KeyClrLine KeyCopy KeyCut KeyDelChar
token: KeyDelLine KeyDo KeyDown KeyEof KeyExtend KeyForm KeyHelp KeyHome KeyHomeD
token: KeyInsChar KeyInsLine KeyKeys KeyLeft KeyLocal KeyLocalTab KeyMenu KeyMenuBar
token: KeyNext KeyNull KeyPaste KeyPoint KeyPrev KeyPrint KeyReplace KeyReturn
token: KeyRight KeyRollDn KeyRollUp KeySelect KeySoft1 KeySoft10 KeySoft11 KeySoft12
token: KeySoft13 KeySoft14 KeySoft15 KeySoft16 KeySoft17 KeySoft18 KeySoft19 KeySoft2
token: KeySoft20 KeySoft21 KeySoft22 KeySoft23 KeySoft24 KeySoft25 KeySoft26 KeySoft27
token: KeySoft28 KeySoft29 KeySoft3 KeySoft30 KeySoft31 KeySoft32 KeySoft4 KeySoft5
token: KeySoft6 KeySoft7 KeySoft8 KeySoft9 KeyTab KeyTimer KeyUp KeyWindowList
token: KeyWindowMenu
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMsgAny OuiMsgKeyAny OuiMsgKeyAnyPrintable OuiMsgMouseAny OuiMsgMouseAnyDbl
token: OuiMsgMouseAnyDown OuiMsgMouseAnyDrag OuiMsgMouseAnyUp
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMsgB1Down OuiMsgB1Drag OuiMsgB1Up OuiMsgB2Down OuiMsgB2Drag OuiMsgB2Up
token: OuiMsgB3Down OuiMsgB3Drag OuiMsgB3Up OuiMsgB4Down OuiMsgB4Drag OuiMsgB4Up
token: OuiMsgB5Down OuiMsgB5Drag OuiMsgB5Up OuiMsgMouseB1 OuiMsgMouseB1Dbl OuiMsgMouseB1Down
token: OuiMsgMouseB1Down OuiMsgMouseB1Drag OuiMsgMouseB1Up OuiMsgMouseB2Dbl OuiMsgMouseB2Down
token: OuiMsgMouseB2Down OuiMsgMouseB2Drag OuiMsgMouseB2Up OuiMsgMouseB2Up OuiMsgMouseB3Dbl
token: OuiMsgMouseB3Down OuiMsgMouseB3Down OuiMsgMouseB3Drag OuiMsgMouseB3Up OuiMsgMouseB3Up
token: OuiMsgMouseB4Dbl OuiMsgMouseB4Down OuiMsgMouseB4Drag OuiMsgMouseB4Up OuiMsgMouseB5Dbl
token: OuiMsgMouseB5Dowkn OuiMsgMouseB5Drag OuiMsgMouseB5Up
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMessageHelponHelp OuiMsgAbout OuiMsgClose OuiMsgCreationAborted OuiMsgDbCommit
token: OuiMsgDbCommit OuiMsgDbCommitResult OuiMsgDbCommitResult OuiMsgDbConnect
token: OuiMsgDbConnectResult OuiMsgDbDisconnect OuiMsgDbDisconnectResult OuiMsgDbExecuteSQL
token: OuiMsgDbExecuteSQLResult OuiMsgDefocus OuiMsgDmDeleteMajor OuiMsgDmDeleteMinor
token: OuiMsgDmInsertMajor OuiMsgDmInsertMinor OuiMsgDmInvalidateArea OuiMsgDmNotify
token: OuiMsgDoublePick OuiMsgDrag OuiMsgDragCancel OuiMsgDragDone OuiMsgDragHelp
token: OuiMsgDragMotion OuiMsgDragStart OuiMsgDrop OuiMsgEvaluatorChanged OuiMsgEvaluatorDrag
token: OuiMsgExitApplication OuiMsgFocus OuiMsgFocusIn OuiMsgFocusOut OuiMsgFormStateChanged
token: OuiMsgGridDragged OuiMsgHelp OuiMsgHelpClearStatus OuiMsgHelpClose OuiMsgHelpContext
token: OuiMsgHelpHideHint OuiMsgHelpIndex OuiMsgHelpKey OuiMsgHelpPick OuiMsgHelpShowHint
token: OuiMsgHelpShowStatus OuiMsgInvisible OuiMsgLockClear OuiMsgLockException
token: OuiMsgLockId OuiMsgLockRelease OuiMsgLockRequest OuiMsgLowResources OuiMsgMDIArrangeIcons
token: OuiMsgMDICascade OuiMsgMDIClose OuiMsgMDITile OuiMsgMove OuiMsgNewRadioButton
token: OuiMsgNoResources OuiMsgNothingCanHappen OuiMsgPick OuiMsgPlace OuiMsgQueryExecute
token: OuiMsgQueryExecuteResult OuiMsgQueryFetchRows OuiMsgQueryFetchRowsResult
token: OuiMsgRubberLine OuiMsgRubberRect OuiMsgSelect OuiMsgSelectionChange OuiMsgSelectionDefocus
token: OuiMsgSelectionDoubleClick OuiMsgSessionAborted OuiMsgSize OuiMsgTableDataArrived
token: OuiMsgTimer OuiMsgTimerCancel OuiMsgTnfData<Type> OuiMsgTnfException OuiMsgTnfInitiateRequest
token: OuiMsgTnfInitiateSupply OuiMsgTopLeftChanged OuiMsgTxnCancel OuiMsgTxnCommit
token: OuiMsgTxnData<Type> OuiMsgTxnException OuiMsgTxnId OuiMsgTxnIdRequest OuiMsgTxnInitiateRequest
token: OuiMsgTxnInitiateSupply OuiMsgVisible OuiMsgWMFocusIn
color: red, normal, red, bold
token: FALSE NULL TRUE
color: darkred, normal, darkred, normal
token: div not
# Comments
color: darkcyan, normal, darkcyan, outline
eolCom: //
comCol: 0
openCom: /*
closeCom: */
# Symbols
color: darkpink, normal, darkpink, italic
string: "
color: darkpink, normal, darkpink, italic
char: '
color: red, normal, red, normal
literal: \
color: myDarkBlue, normal, myDarkBlue, bold
funcParml: (
color: myDarkYellow, normal, myDarkYellow, normal
decPrefix:
color: darkgreen, normal, darkgreen, normal
hexPrefix: 0X
color: darkgray, normal, darkgray, normal
octalPrefix: 0
numPostfix: L
color: red, normal, red, normal
symbol: ><{}()+-:&!|=~?.;,^/*
color: red, normal, red, normal
symbol: []
#===========================================================

234
syntax/pd_opl.syn2 Normal file
View File

@@ -0,0 +1,234 @@
#===========================================================
#
# MED file mode definition file
# Last updated: 12.07.2002 20:10
#
#===========================================================
files: *.opl
title: Open UI's OPL
default: no
caseSensitive: yes
checkCommentInString: yes
shiftDistance: 1
tabWidth: 2
tabLoadExpand: 0
tabInsAsBlank: 1
sectionRegexp: (^[ ]*)(class|function)[ ]+([a-zA-Z0-9_\$]+)
sectionDisplayRegexp: (^[ ]*)(class|function)[ ]+([a-zA-Z0-9_\$]+)
sectionBrowserOrder: 2, 3
sectionDisplayOrder: 2, 3
sectionBrowserMainKey: 3
sectionDisplay: 5000, 1000
wordWrap: disabled 70 >!:~#
wordSep:'&()[]{}\<>.,;-+*:?!=-|"/~
# 3rd party online help
inf: netscape.cmd|%h http://info.propack-data.de/Doku/Programmierung/OpenUI/htmlindx.htm * http://info.propack-data.de/Doku/Programmierung/OpenUI/htmlindx.htm
# brackets
bracket: ( ) 1
bracket: { } 1
bracket: [ ] 0
# Color definitions
defineColor: myGreen 0 100 10
defineColor: myDarkYellow 150 150 0
defineColor: myDarkBlue 0 0 150
defineColor: myDarkRed 200 0 0
defineColor: myDarkestRed 150 0 0
defineColor: myLightGray 220 220 220
foregroundColor: black
backgroundColor: white
blockColor: myLightGray
# Reserved words
color: blue, normal, blue, bold
token: FALSE OuiBooleanT OuiCharT OuiDecimalT OuiFloatT OuiIntegerT OuiLongT OuiPointerT
token: OuiShortT OuiStringT OuiZonedT TRUE accelerator action alias and array
token: attr attribute begin bool char class const constant declid div doobrie
token: else end enum export extern false float for func function goto if in init
token: initially inst instance int local long message mnemonic not of on or priv
token: private pub public readonly record rem repeat return short slot slotno
token: string to true type until var variable virtual when while zoned
color: myDarkRed, normal, myDarkRed, normal
token: Application Button Evaluator Filledge Graphic Menu OuiObj Region Scrollable
token: Separator StandardDialog Visual arc cascade colorDialog comboBox controlBar
token: dataManager database devFontDialog dialogb diversion editText fontDialog
token: form graphicCompound groupBox horizontalSep interactor label list mdiFrameForm
token: menuBar menuBarButton menuButton menuCascadeButton menuPushButton menuRadioButton
token: menuToggleButton messageBox module multiTextL multiTextW openSaveDialog
token: optionMenu panel popupMenu pulldown pushButton query radioButton radioPushButton
token: scene scrollbar session slider spline statusText table timer toggleButton
token: togglePushButton tpMenuBar tpSpreadSheet tpStatusBar tpTable tpToolBar
token: verticalSep
color: myGreen, normal, myGreen, normal
token: AccelLabel Active ActiveCell ActiveCellBackground ActiveCellForeground
token: ActivePrefix ActiveQuery AlignHoriz AlignVert Alignment AllowClose AllowMaximize
token: AllowMinimize AllowMove AllowResize AspectLock AspectRatio AutoCommit AutoFlow
token: AutoResizePolicy BaseHeight BaseWidth BeepOnDiscard BorderStyle BorderStyle
token: BorderWidth Bounds ButtonModifiers ButtonNumber Bytes CatName CatSetNum
token: Changed Class Closed ColumnCount ColumnLengths ColumnNames ColumnTypes
token: ComboBoxStyle CommitDirection Connected CursorName DataDemandPolicy DataOrigin
token: DataPendingPolicy DatasourceName DateInputFormat DecimalPoints Depth Direction
token: DiscardInput DrawGridColor DrawGridStyle DynamicGrid EdgeStyle EdgeWidth
token: Editable Editable ErrorText ExtendClassLibrary FastDraw FillAlternate FillAngle
token: FocusItem Font Font Font Font Font Foreground FormState GUIType GrabInput
token: Height HeightInc HelpId IconImage IconX Image ImageData ImageTileName Increment
token: IncrementMulti IndexMajor IndexMinor InputEdit InputMode InsensColor InsensColor
token: InsertMode IsDefault ItemCount Items JumpScroll Label LabelDisplayPolicy
token: LastNativeError Length LineStyle LineWidth LockedColumns LockedRows MajorCount
token: MajorIncrement MarginHeight MarginHeight MarginWidth MarginWidth MaxAspectX
token: MaxAspectY MaxBytes MaxBytes MaxHeight MaxOffsetHoriz MaxOffsetVert MaxWidth
token: Maximized MinAspectX MinAspectY MinChars MinChars MinColumns MinHeight
token: MinLines MinRows MinWidth Mnemonic Modal Mode NPoints NPoints Name NativeHandle
token: NativeHandle NativeHandle NavigateLocked Offset OffsetHoriz OffsetVert
token: OnDesktop Orientation OutputEdit OutputFormat OverrideRedirect PageSize
token: PagesLocked PagesMemory PagingPolicy Parent PassivePrefix PasswordChar
token: Pattern Placement PlacementDetail PlacementPolicy Points PositionX PositionY
token: PrimarySource PrimarySource QueryType Radio RadiusMajor RadiusMinor RangeHoriz
token: RangeMajor RangeMinor RangeVert RealizePolicy RotateAngle RowMajor RowMajor
token: SaveUnder ScaleX ScaleY ScreenHeight, ScreenWidth ScrollBarPlacement ScrollBarTroughColor
token: ScrollHoriz ScrollVert Sector SelectedAreas SelectedItemBG SelectedItemCount
token: SelectedItemFG SelectedItemList SelectedItemMap SelectedItems SelectedText
token: SelectionBackground SelectionForeground SelectionLength SelectionPolicy
token: SelectionPolicy SelectionStart Self Sensitive Sensitive ShortHelpText ShowButtons
token: ShowIndicator ShowMinimize ShowResizeHandles ShowSysMenu ShowTitle ShowValue
token: SizeVisible SoftKey SpaceColumns SpaceItems SpaceRows SpanX SpanY StartAngle
token: StretchHoriz StretchVert Style Suffix Template Thickness ThumbSize Title
token: Title TitleFont TitlePlacement Toggle TopLeft Trace Transient Traversable
token: TroughColor UniformColumns UniformRows Units Updatable Valid Value Value
token: ValueMax ValueMin Visible VisibleColumns VisibleItems VisibleRows Width
token: WidthInc WorldCoords WrapMode WrapNavigation X Y
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiDestroy OuiGetTime OuiInstantiate OuiListAppend OuiListDeleteItem OuiListFind
token: OuiListInsertItem OuiListItems OuiListNumItems OuiListReFind OuiListSort
token: OuiLookup OuiPrefsClose OuiPrefsGetBoolean OuiPrefsGetEnum OuiPrefsGetLong
token: OuiPrefsGetMask OuiPrefsGetString OuiPrefsItemEnumerate OuiPrefsMerge OuiPrefsOpen
token: OuiPrefsSave OuiPrefsSectionEnumerate OuiPrefsSetBoolean OuiPrefsSetEnum
token: OuiPrefsSetLong OuiPrefsSetMask OuiPrefsSetString OuiPrint OuiQueueMessage
token: OuiReCmp OuiReDestroy OuiReExtract OuiReMatch OuiStrChr OuiStrIsAlnum OuiStrIsAlpha
token: OuiStrIsDigit OuiStrIsLower OuiStrIsPunct OuiStrIsSpace OuiStrIsUpper OuiStrLen
token: OuiStrPad OuiStrRChr OuiStrStr OuiStrToLower OuiStrToUpper OuiStrTrim OuiSubStr
token: OuiSynchronize OuiTrace OuiWebBrowserLoadURL
color: myDarkestRed, normal, myDarkestRed, normal
token: KeyAltBack KeyAltBackTab KeyAltCancel KeyAltClrDisp KeyAltClrLine KeyAltCopy
token: KeyAltCut KeyAltDelChar KeyAltDelLine KeyAltDo KeyAltDown KeyAltEof KeyAltExtend
token: KeyAltForm KeyAltHelp KeyAltHome KeyAltHomeD KeyAltInsChar KeyAltInsLine
token: KeyAltKeys KeyAltLeft KeyAltLocal KeyAltLocalTab KeyAltMenu KeyAltMenuBar
token: KeyAltNext KeyAltNull KeyAltPaste KeyAltPoint KeyAltPrev KeyAltPrint KeyAltReplace
token: KeyAltReturn KeyAltRight KeyAltRollDn KeyAltRollUp KeyAltSelect KeyAltSoft1
token: KeyAltSoft10 KeyAltSoft11 KeyAltSoft12 KeyAltSoft13 KeyAltSoft14 KeyAltSoft15
token: KeyAltSoft16 KeyAltSoft17 KeyAltSoft18 KeyAltSoft19 KeyAltSoft2 KeyAltSoft20
token: KeyAltSoft21 KeyAltSoft22 KeyAltSoft23 KeyAltSoft24 KeyAltSoft25 KeyAltSoft26
token: KeyAltSoft27 KeyAltSoft28 KeyAltSoft29 KeyAltSoft3 KeyAltSoft30 KeyAltSoft31
token: KeyAltSoft32 KeyAltSoft4 KeyAltSoft5 KeyAltSoft6 KeyAltSoft7 KeyAltSoft8
token: KeyAltSoft9 KeyAltTab KeyAltTimer KeyAltUp KeyAltWindowList KeyAltWindowMenu
token: KeyBack KeyBackTab KeyCancel KeyClrDisp KeyClrLine KeyCopy KeyCut KeyDelChar
token: KeyDelLine KeyDo KeyDown KeyEof KeyExtend KeyForm KeyHelp KeyHome KeyHomeD
token: KeyInsChar KeyInsLine KeyKeys KeyLeft KeyLocal KeyLocalTab KeyMenu KeyMenuBar
token: KeyNext KeyNull KeyPaste KeyPoint KeyPrev KeyPrint KeyReplace KeyReturn
token: KeyRight KeyRollDn KeyRollUp KeySelect KeySoft1 KeySoft10 KeySoft11 KeySoft12
token: KeySoft13 KeySoft14 KeySoft15 KeySoft16 KeySoft17 KeySoft18 KeySoft19 KeySoft2
token: KeySoft20 KeySoft21 KeySoft22 KeySoft23 KeySoft24 KeySoft25 KeySoft26 KeySoft27
token: KeySoft28 KeySoft29 KeySoft3 KeySoft30 KeySoft31 KeySoft32 KeySoft4 KeySoft5
token: KeySoft6 KeySoft7 KeySoft8 KeySoft9 KeyTab KeyTimer KeyUp KeyWindowList
token: KeyWindowMenu
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMsgAny OuiMsgKeyAny OuiMsgKeyAnyPrintable OuiMsgMouseAny OuiMsgMouseAnyDbl
token: OuiMsgMouseAnyDown OuiMsgMouseAnyDrag OuiMsgMouseAnyUp
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMsgB1Down OuiMsgB1Drag OuiMsgB1Up OuiMsgB2Down OuiMsgB2Drag OuiMsgB2Up
token: OuiMsgB3Down OuiMsgB3Drag OuiMsgB3Up OuiMsgB4Down OuiMsgB4Drag OuiMsgB4Up
token: OuiMsgB5Down OuiMsgB5Drag OuiMsgB5Up OuiMsgMouseB1 OuiMsgMouseB1Dbl OuiMsgMouseB1Down
token: OuiMsgMouseB1Down OuiMsgMouseB1Drag OuiMsgMouseB1Up OuiMsgMouseB2Dbl OuiMsgMouseB2Down
token: OuiMsgMouseB2Down OuiMsgMouseB2Drag OuiMsgMouseB2Up OuiMsgMouseB2Up OuiMsgMouseB3Dbl
token: OuiMsgMouseB3Down OuiMsgMouseB3Down OuiMsgMouseB3Drag OuiMsgMouseB3Up OuiMsgMouseB3Up
token: OuiMsgMouseB4Dbl OuiMsgMouseB4Down OuiMsgMouseB4Drag OuiMsgMouseB4Up OuiMsgMouseB5Dbl
token: OuiMsgMouseB5Dowkn OuiMsgMouseB5Drag OuiMsgMouseB5Up
color: myDarkestRed, normal, myDarkestRed, normal
token: OuiMessageHelponHelp OuiMsgAbout OuiMsgClose OuiMsgCreationAborted OuiMsgDbCommit
token: OuiMsgDbCommit OuiMsgDbCommitResult OuiMsgDbCommitResult OuiMsgDbConnect
token: OuiMsgDbConnectResult OuiMsgDbDisconnect OuiMsgDbDisconnectResult OuiMsgDbExecuteSQL
token: OuiMsgDbExecuteSQLResult OuiMsgDefocus OuiMsgDmDeleteMajor OuiMsgDmDeleteMinor
token: OuiMsgDmInsertMajor OuiMsgDmInsertMinor OuiMsgDmInvalidateArea OuiMsgDmNotify
token: OuiMsgDoublePick OuiMsgDrag OuiMsgDragCancel OuiMsgDragDone OuiMsgDragHelp
token: OuiMsgDragMotion OuiMsgDragStart OuiMsgDrop OuiMsgEvaluatorChanged OuiMsgEvaluatorDrag
token: OuiMsgExitApplication OuiMsgFocus OuiMsgFocusIn OuiMsgFocusOut OuiMsgFormStateChanged
token: OuiMsgGridDragged OuiMsgHelp OuiMsgHelpClearStatus OuiMsgHelpClose OuiMsgHelpContext
token: OuiMsgHelpHideHint OuiMsgHelpIndex OuiMsgHelpKey OuiMsgHelpPick OuiMsgHelpShowHint
token: OuiMsgHelpShowStatus OuiMsgInvisible OuiMsgLockClear OuiMsgLockException
token: OuiMsgLockId OuiMsgLockRelease OuiMsgLockRequest OuiMsgLowResources OuiMsgMDIArrangeIcons
token: OuiMsgMDICascade OuiMsgMDIClose OuiMsgMDITile OuiMsgMove OuiMsgNewRadioButton
token: OuiMsgNoResources OuiMsgNothingCanHappen OuiMsgPick OuiMsgPlace OuiMsgQueryExecute
token: OuiMsgQueryExecuteResult OuiMsgQueryFetchRows OuiMsgQueryFetchRowsResult
token: OuiMsgRubberLine OuiMsgRubberRect OuiMsgSelect OuiMsgSelectionChange OuiMsgSelectionDefocus
token: OuiMsgSelectionDoubleClick OuiMsgSessionAborted OuiMsgSize OuiMsgTableDataArrived
token: OuiMsgTimer OuiMsgTimerCancel OuiMsgTnfData<Type> OuiMsgTnfException OuiMsgTnfInitiateRequest
token: OuiMsgTnfInitiateSupply OuiMsgTopLeftChanged OuiMsgTxnCancel OuiMsgTxnCommit
token: OuiMsgTxnData<Type> OuiMsgTxnException OuiMsgTxnId OuiMsgTxnIdRequest OuiMsgTxnInitiateRequest
token: OuiMsgTxnInitiateSupply OuiMsgVisible OuiMsgWMFocusIn
color: red, normal, red, bold
token: FALSE NULL TRUE
color: darkred, normal, darkred, normal
token: div not
# Comments
color: darkcyan, normal, darkcyan, outline
eolCom: //
comCol: 0
openCom: /*
closeCom: */
# Symbols
color: darkpink, normal, darkpink, italic
string: "
color: darkpink, normal, darkpink, italic
char: '
color: red, normal, red, normal
literal: \
color: myDarkBlue, normal, myDarkBlue, bold
funcParml: (
color: myDarkYellow, normal, myDarkYellow, normal
decPrefix:
color: darkgreen, normal, darkgreen, normal
hexPrefix: 0X
color: darkgray, normal, darkgray, normal
octalPrefix: 0
numPostfix: L
color: red, normal, red, normal
symbol: ><{}()+-:&!|=~?.;,^/*
color: red, normal, red, normal
symbol: []
#===========================================================

376
syntax/python.vim Normal file
View File

@@ -0,0 +1,376 @@
" Vim syntax file
" Language: Python
" Maintainer: Dmitry Vasiliev <dima@hlabs.spb.ru>
" URL: http://www.hlabs.spb.ru/vim/python.vim
" Last Change: 2010-04-09
" Filenames: *.py
" Version: 2.6.6
"
" Based on python.vim (from Vim 6.1 distribution)
" by Neil Schemenauer <nas@python.ca>
"
" Thanks:
"
" Jeroen Ruigrok van der Werven
" for the idea to highlight erroneous operators
" Pedro Algarvio
" for the patch to enable spell checking only for the right spots
" (strings and comments)
" John Eikenberry
" for the patch fixing small typo
" Caleb Adamantine
" for the patch fixing highlighting for decorators
" Andrea Riciputi
" for the patch with new configuration options
"
" Options:
"
" For set option do: let OPTION_NAME = 1
" For clear option do: let OPTION_NAME = 0
"
" Option names:
"
" For highlight builtin functions and objects:
" python_highlight_builtins
"
" For highlight builtin objects:
" python_highlight_builtin_objs
"
" For highlight builtin funtions:
" python_highlight_builtin_funcs
"
" For highlight standard exceptions:
" python_highlight_exceptions
"
" For highlight string formatting:
" python_highlight_string_formatting
"
" For highlight str.format syntax:
" python_highlight_string_format
"
" For highlight string.Template syntax:
" python_highlight_string_templates
"
" For highlight indentation errors:
" python_highlight_indent_errors
"
" For highlight trailing spaces:
" python_highlight_space_errors
"
" For highlight doc-tests:
" python_highlight_doctests
"
" If you want all Python highlightings above:
" python_highlight_all
" (This option not override previously set options)
"
" For fast machines:
" python_slow_sync
"
" For "print" builtin as function:
" python_print_as_function
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
if exists("python_highlight_all") && python_highlight_all != 0
" Not override previously set options
if !exists("python_highlight_builtins")
if !exists("python_highlight_builtin_objs")
let python_highlight_builtin_objs = 1
endif
if !exists("python_highlight_builtin_funcs")
let python_highlight_builtin_funcs = 1
endif
endif
if !exists("python_highlight_exceptions")
let python_highlight_exceptions = 1
endif
if !exists("python_highlight_string_formatting")
let python_highlight_string_formatting = 1
endif
if !exists("python_highlight_string_format")
let python_highlight_string_format = 1
endif
if !exists("python_highlight_string_templates")
let python_highlight_string_templates = 1
endif
if !exists("python_highlight_indent_errors")
let python_highlight_indent_errors = 1
endif
if !exists("python_highlight_space_errors")
let python_highlight_space_errors = 1
endif
if !exists("python_highlight_doctests")
let python_highlight_doctests = 1
endif
endif
" Keywords
syn keyword pythonStatement break continue del
syn keyword pythonStatement exec return
syn keyword pythonStatement pass raise
syn keyword pythonStatement global assert
syn keyword pythonStatement lambda yield
syn keyword pythonStatement with
syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite
syn match pythonFunction "[a-zA-Z_][a-zA-Z0-9_]*" display contained
syn keyword pythonRepeat for while
syn keyword pythonConditional if elif else
syn keyword pythonPreCondit import from as
syn keyword pythonException try except finally
syn keyword pythonOperator and in is not or
if !exists("python_print_as_function") || python_print_as_function == 0
syn keyword pythonStatement print
endif
" Decorators (new in Python 2.4)
" gryf: match also name of the decorator not only at sign.
syn match pythonDecorator "@[a-zA-Z_][a-zA-Z0-9_]*" display nextgroup=pythonDottedName skipwhite
"syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite
syn match pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained
syn match pythonDot "\." display containedin=pythonDottedName
" Comments
syn match pythonComment "#.*$" display contains=pythonTodo,@Spell
syn match pythonRun "\%^#!.*$"
syn match pythonCoding "\%^.*\(\n.*\)\?#.*coding[:=]\s*[0-9A-Za-z-_.]\+.*$"
syn keyword pythonTodo TODO FIXME XXX contained
" Errors
syn match pythonError "\<\d\+\D\+\>" display
syn match pythonError "[$?]" display
syn match pythonError "[&|]\{2,}" display
syn match pythonError "[=]\{3,}" display
" TODO: Mixing spaces and tabs also may be used for pretty formatting multiline
" statements. For now I don't know how to work around this.
if exists("python_highlight_indent_errors") && python_highlight_indent_errors != 0
syn match pythonIndentError "^\s*\( \t\|\t \)\s*\S"me=e-1 display
endif
" Trailing space errors
if exists("python_highlight_space_errors") && python_highlight_space_errors != 0
syn match pythonSpaceError "\s\+$" display
endif
" Strings
syn region pythonString start=+[bB]\='+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonEscape,pythonEscapeError,@Spell
syn region pythonString start=+[bB]\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonEscape,pythonEscapeError,@Spell
syn region pythonString start=+[bB]\="""+ end=+"""+ keepend contains=pythonEscape,pythonEscapeError,pythonDocTest2,pythonSpaceError,@Spell
syn region pythonString start=+[bB]\='''+ end=+'''+ keepend contains=pythonEscape,pythonEscapeError,pythonDocTest,pythonSpaceError,@Spell
syn match pythonEscape +\\[abfnrtv'"\\]+ display contained
syn match pythonEscape "\\\o\o\=\o\=" display contained
syn match pythonEscapeError "\\\o\{,2}[89]" display contained
syn match pythonEscape "\\x\x\{2}" display contained
syn match pythonEscapeError "\\x\x\=\X" display contained
syn match pythonEscape "\\$"
" Unicode strings
syn region pythonUniString start=+[uU]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonEscape,pythonUniEscape,pythonEscapeError,pythonUniEscapeError,@Spell
syn region pythonUniString start=+[uU]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonEscape,pythonUniEscape,pythonEscapeError,pythonUniEscapeError,@Spell
syn region pythonUniString start=+[uU]"""+ end=+"""+ keepend contains=pythonEscape,pythonUniEscape,pythonEscapeError,pythonUniEscapeError,pythonDocTest2,pythonSpaceError,@Spell
syn region pythonUniString start=+[uU]'''+ end=+'''+ keepend contains=pythonEscape,pythonUniEscape,pythonEscapeError,pythonUniEscapeError,pythonDocTest,pythonSpaceError,@Spell
syn match pythonUniEscape "\\u\x\{4}" display contained
syn match pythonUniEscapeError "\\u\x\{,3}\X" display contained
syn match pythonUniEscape "\\U\x\{8}" display contained
syn match pythonUniEscapeError "\\U\x\{,7}\X" display contained
syn match pythonUniEscape "\\N{[A-Z ]\+}" display contained
syn match pythonUniEscapeError "\\N{[^A-Z ]\+}" display contained
" Raw strings
syn region pythonRawString start=+[rR]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,@Spell
syn region pythonRawString start=+[rR]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,@Spell
syn region pythonRawString start=+[rR]"""+ end=+"""+ keepend contains=pythonDocTest2,pythonSpaceError,@Spell
syn region pythonRawString start=+[rR]'''+ end=+'''+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
syn match pythonRawEscape +\\['"]+ display transparent contained
" Unicode raw strings
syn region pythonUniRawString start=+[uU][rR]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,pythonUniRawEscape,pythonUniRawEscapeError,@Spell
syn region pythonUniRawString start=+[uU][rR]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,pythonUniRawEscape,pythonUniRawEscapeError,@Spell
syn region pythonUniRawString start=+[uU][rR]"""+ end=+"""+ keepend contains=pythonUniRawEscape,pythonUniRawEscapeError,pythonDocTest2,pythonSpaceError,@Spell
syn region pythonUniRawString start=+[uU][rR]'''+ end=+'''+ keepend contains=pythonUniRawEscape,pythonUniRawEscapeError,pythonDocTest,pythonSpaceError,@Spell
syn match pythonUniRawEscape "\([^\\]\(\\\\\)*\)\@<=\\u\x\{4}" display contained
syn match pythonUniRawEscapeError "\([^\\]\(\\\\\)*\)\@<=\\u\x\{,3}\X" display contained
if exists("python_highlight_string_formatting") && python_highlight_string_formatting != 0
" String formatting
syn match pythonStrFormatting "%\(([^)]\+)\)\=[-#0 +]*\d*\(\.\d\+\)\=[hlL]\=[diouxXeEfFgGcrs%]" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
syn match pythonStrFormatting "%[-#0 +]*\(\*\|\d\+\)\=\(\.\(\*\|\d\+\)\)\=[hlL]\=[diouxXeEfFgGcrs%]" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
endif
if exists("python_highlight_string_format") && python_highlight_string_format != 0
" str.format syntax
syn match pythonStrFormat "{{\|}}" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
syn match pythonStrFormat "{\([a-zA-Z_][a-zA-Z0-9_]*\|\d\+\)\(\.[a-zA-Z_][a-zA-Z0-9_]*\|\[\(\d\+\|[^!:\}]\+\)\]\)*\(![rs]\)\=\(:\({\([a-zA-Z_][a-zA-Z0-9_]*\|\d\+\)}\|\([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*\(\.\d\+\)\=[bcdeEfFgGnoxX%]\=\)\=\)\=}" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
endif
if exists("python_highlight_string_templates") && python_highlight_string_templates != 0
" String templates
syn match pythonStrTemplate "\$\$" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
syn match pythonStrTemplate "\${[a-zA-Z_][a-zA-Z0-9_]*}" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
syn match pythonStrTemplate "\$[a-zA-Z_][a-zA-Z0-9_]*" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
endif
if exists("python_highlight_doctests") && python_highlight_doctests != 0
" DocTests
syn region pythonDocTest start="^\s*>>>" end=+'''+he=s-1 end="^\s*$" contained
syn region pythonDocTest2 start="^\s*>>>" end=+"""+he=s-1 end="^\s*$" contained
endif
" Numbers (ints, longs, floats, complex)
syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*[lL]\=\>" display
syn match pythonHexNumber "\<0[xX]\x\+[lL]\=\>" display
syn match pythonOctNumber "\<0[oO]\o\+[lL]\=\>" display
syn match pythonBinNumber "\<0[bB][01]\+[lL]\=\>" display
syn match pythonNumber "\<\d\+[lLjJ]\=\>" display
syn match pythonFloat "\.\d\+\([eE][+-]\=\d\+\)\=[jJ]\=\>" display
syn match pythonFloat "\<\d\+[eE][+-]\=\d\+[jJ]\=\>" display
syn match pythonFloat "\<\d\+\.\d*\([eE][+-]\=\d\+\)\=[jJ]\=" display
syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*[lL]\=\>" display
syn match pythonBinError "\<0[bB][01]*[2-9]\d*[lL]\=\>" display
if exists("python_highlight_builtin_objs") && python_highlight_builtin_objs != 0
" Builtin objects and types
syn keyword pythonBuiltinObj True False Ellipsis None NotImplemented
syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__
endif
if exists("python_highlight_builtin_funcs") && python_highlight_builtin_funcs != 0
" Builtin functions
syn keyword pythonBuiltinFunc __import__ abs all any apply
syn keyword pythonBuiltinFunc basestring bin bool buffer bytearray bytes callable
syn keyword pythonBuiltinFunc chr classmethod cmp coerce compile complex
syn keyword pythonBuiltinFunc delattr dict dir divmod enumerate eval
syn keyword pythonBuiltinFunc execfile file filter float format frozenset getattr
syn keyword pythonBuiltinFunc globals hasattr hash help hex id
syn keyword pythonBuiltinFunc input int intern isinstance
syn keyword pythonBuiltinFunc issubclass iter len list locals long map max
syn keyword pythonBuiltinFunc min next object oct open ord
syn keyword pythonBuiltinFunc pow property range
syn keyword pythonBuiltinFunc raw_input reduce reload repr
syn keyword pythonBuiltinFunc reversed round set setattr
syn keyword pythonBuiltinFunc slice sorted staticmethod str sum super tuple
syn keyword pythonBuiltinFunc type unichr unicode vars xrange zip
if exists("python_print_as_function") && python_print_as_function != 0
syn keyword pythonBuiltinFunc print
endif
endif
if exists("python_highlight_exceptions") && python_highlight_exceptions != 0
" Builtin exceptions and warnings
syn keyword pythonExClass BaseException
syn keyword pythonExClass Exception StandardError ArithmeticError
syn keyword pythonExClass LookupError EnvironmentError
syn keyword pythonExClass AssertionError AttributeError BufferError EOFError
syn keyword pythonExClass FloatingPointError GeneratorExit IOError
syn keyword pythonExClass ImportError IndexError KeyError
syn keyword pythonExClass KeyboardInterrupt MemoryError NameError
syn keyword pythonExClass NotImplementedError OSError OverflowError
syn keyword pythonExClass ReferenceError RuntimeError StopIteration
syn keyword pythonExClass SyntaxError IndentationError TabError
syn keyword pythonExClass SystemError SystemExit TypeError
syn keyword pythonExClass UnboundLocalError UnicodeError
syn keyword pythonExClass UnicodeEncodeError UnicodeDecodeError
syn keyword pythonExClass UnicodeTranslateError ValueError VMSError
syn keyword pythonExClass WindowsError ZeroDivisionError
syn keyword pythonExClass Warning UserWarning BytesWarning DeprecationWarning
syn keyword pythonExClass PendingDepricationWarning SyntaxWarning
syn keyword pythonExClass RuntimeWarning FutureWarning
syn keyword pythonExClass ImportWarning UnicodeWarning
endif
if exists("python_slow_sync") && python_slow_sync != 0
syn sync minlines=2000
else
" This is fast but code inside triple quoted strings screws it up. It
" is impossible to fix because the only way to know if you are inside a
" triple quoted string is to start from the beginning of the file.
syn sync match pythonSync grouphere NONE "):$"
syn sync maxlines=200
endif
if version >= 508 || !exists("did_python_syn_inits")
if version <= 508
let did_python_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink pythonStatement Statement
HiLink pythonPreCondit Statement
HiLink pythonFunction Function
HiLink pythonConditional Conditional
HiLink pythonRepeat Repeat
HiLink pythonException Exception
HiLink pythonOperator Operator
HiLink pythonDecorator Define
HiLink pythonDottedName Function
HiLink pythonDot Normal
HiLink pythonComment Comment
HiLink pythonCoding Special
HiLink pythonRun Special
HiLink pythonTodo Todo
HiLink pythonError Error
HiLink pythonIndentError Error
HiLink pythonSpaceError Error
HiLink pythonString String
HiLink pythonUniString String
HiLink pythonRawString String
HiLink pythonUniRawString String
HiLink pythonEscape Special
HiLink pythonEscapeError Error
HiLink pythonUniEscape Special
HiLink pythonUniEscapeError Error
HiLink pythonUniRawEscape Special
HiLink pythonUniRawEscapeError Error
HiLink pythonStrFormatting Special
HiLink pythonStrFormat Special
HiLink pythonStrTemplate Special
HiLink pythonDocTest Special
HiLink pythonDocTest2 Special
HiLink pythonNumber Number
HiLink pythonHexNumber Number
HiLink pythonOctNumber Number
HiLink pythonBinNumber Number
HiLink pythonFloat Float
HiLink pythonOctError Error
HiLink pythonHexError Error
HiLink pythonBinError Error
HiLink pythonBuiltinObj Structure
HiLink pythonBuiltinFunc Function
HiLink pythonExClass Structure
delcommand HiLink
endif
let b:current_syntax = "python"

19
syntax/snippet.vim Normal file
View File

@@ -0,0 +1,19 @@
" Syntax highlighting for snippet files (used for snipMate.vim)
" Hopefully this should make snippets a bit nicer to write!
syn match snipComment '^#.*'
syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand
syn match tabStop '\$\d\+'
syn match snipCommand '`.\{-}`'
syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword
syn match multiSnipText '\S\+ \zs.*' contained
syn match snipKeyword '^snippet'me=s+8 contained
syn match snipError "^[^#s\t].*$"
hi link snipComment Comment
hi link multiSnipText String
hi link snipKeyword Keyword
hi link snipComment Comment
hi link placeHolder Special
hi link tabStop Special
hi link snipCommand String
hi link snipError Error

42
syntax/svkannotate.vim Normal file
View File

@@ -0,0 +1,42 @@
" Vim syntax file
" Language: SVK annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the vcscommand plugin.
" License:
" Copyright (c) 2007 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syn match svkDate /\d\{4}-\d\{1,2}-\d\{1,2}/ skipwhite contained
syn match svkName /(\s*\zs\S\+/ contained nextgroup=svkDate skipwhite
syn match svkVer /^\s*\d\+/ contained nextgroup=svkName skipwhite
syn region svkHead start=/^/ end="):" contains=svkVer,svkName,svkDate oneline
if !exists("did_svkannotate_syntax_inits")
let did_svkannotate_syntax_inits = 1
hi link svkName Type
hi link svkDate Comment
hi link svkVer Statement
endif
let b:current_syntax="svkAnnotate"

40
syntax/svnannotate.vim Normal file
View File

@@ -0,0 +1,40 @@
" Vim syntax file
" Language: SVN annotate output
" Maintainer: Bob Hiestand <bob.hiestand@gmail.com>
" Remark: Used by the vcscommand plugin.
" License:
" Copyright (c) 2007 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syn match svnName /\S\+/ contained
syn match svnVer /^\s\+\zs\d\+/ contained nextgroup=svnName skipwhite
syn match svnHead /^\s\+\d\+\s\+\S\+/ contains=svnVer,svnName
if !exists("did_svnannotate_syntax_inits")
let did_svnannotate_syntax_inits = 1
hi link svnName Type
hi link svnVer Statement
endif
let b:current_syntax="svnAnnotate"

31
syntax/vcscommit.vim Normal file
View File

@@ -0,0 +1,31 @@
" Vim syntax file
" Language: VCS commit file
" Maintainer: Bob Hiestand (bob.hiestand@gmail.com)
" License:
" Copyright (c) 2007 Bob Hiestand
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to
" deal in the Software without restriction, including without limitation the
" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
" sell copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
" IN THE SOFTWARE.
if exists("b:current_syntax")
finish
endif
syntax region vcsComment start="^VCS: " end="$"
highlight link vcsComment Comment
let b:current_syntax = "vcscommit"

149
syntax/vimwiki.vim Normal file
View File

@@ -0,0 +1,149 @@
" Vimwiki syntax file
" Author: Maxim Kim <habamax@gmail.com>
" Home: http://code.google.com/p/vimwiki/
" vim:tw=79:
" Quit if syntax file is already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
"" use max highlighting - could be quite slow if there are too many wikifiles
if VimwikiGet('maxhi')
" Every WikiWord is nonexistent
if g:vimwiki_camel_case
execute 'syntax match VimwikiNoExistsWord /\%(^\|[^!]\)\@<='.g:vimwiki_word1.'/'
endif
execute 'syntax match VimwikiNoExistsWord /'.g:vimwiki_word2.'/'
execute 'syntax match VimwikiNoExistsWord /'.g:vimwiki_word3.'/'
" till we find them in vimwiki's path
call vimwiki#WikiHighlightWords()
else
" A WikiWord (unqualifiedWikiName)
execute 'syntax match VimwikiWord /\%(^\|[^!]\)\@<=\<'.g:vimwiki_word1.'\>/'
" A [[bracketed wiki word]]
execute 'syntax match VimwikiWord /'.g:vimwiki_word2.'/'
endif
execute 'syntax match VimwikiLink `'.g:vimwiki_rxWeblink.'`'
" Emoticons
syntax match VimwikiEmoticons /\%((.)\|:[()|$@]\|:-[DOPS()\]|$@]\|;)\|:'(\)/
let g:vimwiki_rxTodo = '\C\%(TODO:\|DONE:\|STARTED:\|FIXME:\|FIXED:\|XXX:\)'
execute 'syntax match VimwikiTodo /'. g:vimwiki_rxTodo .'/'
" Load concrete Wiki syntax
execute 'runtime! syntax/vimwiki_'.VimwikiGet('syntax').'.vim'
" Tables
" execute 'syntax match VimwikiTable /'.g:vimwiki_rxTable.'/'
syntax match VimwikiTableRow /\s*|.\+|\s*/
\ transparent contains=VimwikiCellSeparator,VimwikiWord,
\ VimwikiNoExistsWord,VimwikiEmoticons,VimwikiTodo,
\ VimwikiBold,VimwikiItalic,VimwikiBoldItalic,VimwikiItalicBold,
\ VimwikiDelText,VimwikiSuperScript,VimwikiSubScript,VimwikiCode
syntax match VimwikiCellSeparator
\ /\%(|\)\|\%(-\@<=+\-\@=\)\|\%([|+]\@<=-\+\)/ contained
" List items
execute 'syntax match VimwikiList /'.g:vimwiki_rxListBullet.'/'
execute 'syntax match VimwikiList /'.g:vimwiki_rxListNumber.'/'
execute 'syntax match VimwikiList /'.g:vimwiki_rxListDefine.'/'
execute 'syntax match VimwikiBold /'.g:vimwiki_rxBold.'/'
execute 'syntax match VimwikiItalic /'.g:vimwiki_rxItalic.'/'
execute 'syntax match VimwikiBoldItalic /'.g:vimwiki_rxBoldItalic.'/'
execute 'syntax match VimwikiItalicBold /'.g:vimwiki_rxItalicBold.'/'
execute 'syntax match VimwikiDelText /'.g:vimwiki_rxDelText.'/'
execute 'syntax match VimwikiSuperScript /'.g:vimwiki_rxSuperScript.'/'
execute 'syntax match VimwikiSubScript /'.g:vimwiki_rxSubScript.'/'
execute 'syntax match VimwikiCode /'.g:vimwiki_rxCode.'/'
" <hr> horizontal rule
execute 'syntax match VimwikiHR /'.g:vimwiki_rxHR.'/'
execute 'syntax region VimwikiPre start=/'.g:vimwiki_rxPreStart.
\ '/ end=/'.g:vimwiki_rxPreEnd.'/ contains=VimwikiComment'
" List item checkbox
syntax match VimwikiCheckBox /\[.\?\]/
if g:vimwiki_hl_cb_checked
execute 'syntax match VimwikiCheckBoxDone /'.
\ g:vimwiki_rxListBullet.'\s*\['.g:vimwiki_listsyms[4].'\].*$/'
execute 'syntax match VimwikiCheckBoxDone /'.
\ g:vimwiki_rxListNumber.'\s*\['.g:vimwiki_listsyms[4].'\].*$/'
endif
syntax region VimwikiComment start='<!--' end='-->'
if !vimwiki#hl_exists("VimwikiHeader1")
execute 'syntax match VimwikiHeader /'.g:vimwiki_rxHeader.'/ contains=VimwikiTodo'
else
" Header levels, 1-6
execute 'syntax match VimwikiHeader1 /'.g:vimwiki_rxH1.'/ contains=VimwikiTodo'
execute 'syntax match VimwikiHeader2 /'.g:vimwiki_rxH2.'/ contains=VimwikiTodo'
execute 'syntax match VimwikiHeader3 /'.g:vimwiki_rxH3.'/ contains=VimwikiTodo'
execute 'syntax match VimwikiHeader4 /'.g:vimwiki_rxH4.'/ contains=VimwikiTodo'
execute 'syntax match VimwikiHeader5 /'.g:vimwiki_rxH5.'/ contains=VimwikiTodo'
execute 'syntax match VimwikiHeader6 /'.g:vimwiki_rxH6.'/ contains=VimwikiTodo'
endif
" group names "{{{
if !vimwiki#hl_exists("VimwikiHeader1")
hi def link VimwikiHeader Title
else
hi def link VimwikiHeader1 Title
hi def link VimwikiHeader2 Title
hi def link VimwikiHeader3 Title
hi def link VimwikiHeader4 Title
hi def link VimwikiHeader5 Title
hi def link VimwikiHeader6 Title
endif
hi def VimwikiBold term=bold cterm=bold gui=bold
hi def VimwikiItalic term=italic cterm=italic gui=italic
hi def VimwikiBoldItalic term=bold cterm=bold gui=bold,italic
hi def link VimwikiItalicBold VimwikiBoldItalic
hi def link VimwikiCode PreProc
hi def link VimwikiWord Underlined
hi def link VimwikiNoExistsWord Error
hi def link VimwikiPre SpecialComment
hi def link VimwikiLink Underlined
hi def link VimwikiList Function
hi def link VimwikiCheckBox VimwikiList
hi def link VimwikiCheckBoxDone Comment
hi def link VimwikiEmoticons Character
hi def link VimwikiDelText Constant
hi def link VimwikiSuperScript Number
hi def link VimwikiSubScript Number
hi def link VimwikiTodo Todo
hi def link VimwikiComment Comment
hi def link VimwikiCellSeparator SpecialKey
"}}}
let b:current_syntax="vimwiki"
" EMBEDDED syntax setup "{{{
let nested = VimwikiGet('nested_syntaxes')
if !empty(nested)
for [hl_syntax, vim_syntax] in items(nested)
call vimwiki#nested_syntax(vim_syntax,
\ '^{{{\%(.*[[:blank:][:punct:]]\)\?'.
\ hl_syntax.'\%([[:blank:][:punct:]].*\)\?',
\ '^}}}', 'VimwikiPre')
endfor
endif
"}}}

View File

@@ -0,0 +1,76 @@
" Vimwiki syntax file
" Default syntax
" Author: Maxim Kim <habamax@gmail.com>
" Home: http://code.google.com/p/vimwiki/
" vim:tw=78:
" text: *strong*
" let g:vimwiki_rxBold = '\*[^*]\+\*'
let g:vimwiki_rxBold = '\%(^\|\s\|[[:punct:]]\)\@<='.
\'\*'.
\'\%([^*`[:space:]][^*`]*[^*`[:space:]]\|[^*`]\)'.
\'\*'.
\'\%([[:punct:]]\|\s\|$\)\@='
" text: _emphasis_
" let g:vimwiki_rxItalic = '_[^_]\+_'
let g:vimwiki_rxItalic = '\%(^\|\s\|[[:punct:]]\)\@<='.
\'_'.
\'\%([^_`[:space:]][^_`]*[^_`[:space:]]\|[^_`]\)'.
\'_'.
\'\%([[:punct:]]\|\s\|$\)\@='
" text: *_bold italic_* or _*italic bold*_
let g:vimwiki_rxBoldItalic = '\%(^\|\s\|[[:punct:]]\)\@<='.
\'\*_'.
\'\%([^*_`[:space:]][^*_`]*[^*_`[:space:]]\|[^*_`]\)'.
\'_\*'.
\'\%([[:punct:]]\|\s\|$\)\@='
let g:vimwiki_rxItalicBold = '\%(^\|\s\|[[:punct:]]\)\@<='.
\'_\*'.
\'\%([^*_`[:space:]][^*_`]*[^*_`[:space:]]\|[^*_`]\)'.
\'\*_'.
\'\%([[:punct:]]\|\s\|$\)\@='
" text: `code`
let g:vimwiki_rxCode = '`[^`]\+`'
" text: ~~deleted text~~
let g:vimwiki_rxDelText = '\~\~[^~`]\+\~\~'
" text: ^superscript^
let g:vimwiki_rxSuperScript = '\^[^^`]\+\^'
" text: ,,subscript,,
let g:vimwiki_rxSubScript = ',,[^,`]\+,,'
" Header levels, 1-6
let g:vimwiki_rxH1 = '^\s*=\{1}[^=]\+.*[^=]\+=\{1}\s*$'
let g:vimwiki_rxH2 = '^\s*=\{2}[^=]\+.*[^=]\+=\{2}\s*$'
let g:vimwiki_rxH3 = '^\s*=\{3}[^=]\+.*[^=]\+=\{3}\s*$'
let g:vimwiki_rxH4 = '^\s*=\{4}[^=]\+.*[^=]\+=\{4}\s*$'
let g:vimwiki_rxH5 = '^\s*=\{5}[^=]\+.*[^=]\+=\{5}\s*$'
let g:vimwiki_rxH6 = '^\s*=\{6}[^=]\+.*[^=]\+=\{6}\s*$'
let g:vimwiki_rxHeader = '\%('.g:vimwiki_rxH1.'\)\|'.
\ '\%('.g:vimwiki_rxH2.'\)\|'.
\ '\%('.g:vimwiki_rxH3.'\)\|'.
\ '\%('.g:vimwiki_rxH4.'\)\|'.
\ '\%('.g:vimwiki_rxH5.'\)\|'.
\ '\%('.g:vimwiki_rxH6.'\)'
" <hr>, horizontal rule
let g:vimwiki_rxHR = '^----.*$'
" Tables. Each line starts and ends with '||'; each cell is separated by '||'
let g:vimwiki_rxTable = '||'
" List items start with optional whitespace(s) then '* ' or '# '
let g:vimwiki_rxListBullet = '^\s*\%(\*\|-\)\s'
let g:vimwiki_rxListNumber = '^\s*#\s'
let g:vimwiki_rxListDefine = '::\(\s\|$\)'
" Preformatted text
let g:vimwiki_rxPreStart = '{{{'
let g:vimwiki_rxPreEnd = '}}}'

58
syntax/vimwiki_media.vim Normal file
View File

@@ -0,0 +1,58 @@
" Vimwiki syntax file
" MediaWiki syntax
" Author: Maxim Kim <habamax@gmail.com>
" Home: http://code.google.com/p/vimwiki/
" vim:tw=78:
" text: '''strong'''
let g:vimwiki_rxBold = "'''[^']\\+'''"
" text: ''emphasis''
let g:vimwiki_rxItalic = "''[^']\\+''"
" text: '''''strong italic'''''
let g:vimwiki_rxBoldItalic = "'''''[^']\\+'''''"
let g:vimwiki_rxItalicBold = g:vimwiki_rxBoldItalic
" text: `code`
let g:vimwiki_rxCode = '`[^`]\+`'
" text: ~~deleted text~~
let g:vimwiki_rxDelText = '\~\~[^~]\+\~\~'
" text: ^superscript^
let g:vimwiki_rxSuperScript = '\^[^^]\+\^'
" text: ,,subscript,,
let g:vimwiki_rxSubScript = ',,[^,]\+,,'
" Header levels, 1-6
let g:vimwiki_rxH1 = '^\s*=\{1}[^=]\+.*[^=]\+=\{1}\s*$'
let g:vimwiki_rxH2 = '^\s*=\{2}[^=]\+.*[^=]\+=\{2}\s*$'
let g:vimwiki_rxH3 = '^\s*=\{3}[^=]\+.*[^=]\+=\{3}\s*$'
let g:vimwiki_rxH4 = '^\s*=\{4}[^=]\+.*[^=]\+=\{4}\s*$'
let g:vimwiki_rxH5 = '^\s*=\{5}[^=]\+.*[^=]\+=\{5}\s*$'
let g:vimwiki_rxH6 = '^\s*=\{6}[^=]\+.*[^=]\+=\{6}\s*$'
let g:vimwiki_rxHeader = '\%('.g:vimwiki_rxH1.'\)\|'.
\ '\%('.g:vimwiki_rxH2.'\)\|'.
\ '\%('.g:vimwiki_rxH3.'\)\|'.
\ '\%('.g:vimwiki_rxH4.'\)\|'.
\ '\%('.g:vimwiki_rxH5.'\)\|'.
\ '\%('.g:vimwiki_rxH6.'\)'
" <hr>, horizontal rule
let g:vimwiki_rxHR = '^----.*$'
" Tables. Each line starts and ends with '||'; each cell is separated by '||'
let g:vimwiki_rxTable = '||'
" Bulleted list items start with whitespace(s), then '*'
" highlight only bullets and digits.
let g:vimwiki_rxListBullet = '^\s*\*\+\([^*]*$\)\@='
let g:vimwiki_rxListNumber = '^\s*#\+'
let g:vimwiki_rxListDefine = '^\%(;\|:\)\s'
" Preformatted text
let g:vimwiki_rxPreStart = '<pre>'
let g:vimwiki_rxPreEnd = '<\/pre>'