Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;----------------------------------------------;
- ; Coder plugin syntax file ;
- ;----------------------------------------------;
- ; * Fr0sT mod *
- ; Fixed: begin - case - end - end folding; region folding;
- ; keywords lower case; some Words reorganized and added
- ;Colors
- ; Color need to be in #RRGGBB format.
- ; If color equal to zero, then color ignored.
- ;
- ;Font styles
- ; 0 ignored.
- ; 1 normal.
- ; 2 bold.
- ; 3 italic.
- ; 4 bold italic.
- ;
- ;For comfort file viewing/editing set tab size to 8 or higher.
- Files:
- ;==========
- ;File types
- ;==========
- *.dpr
- *.pas
- ;----------------------------------------------;
- ; HighLight ;
- ;----------------------------------------------;
- ;Flags (sum of the members)
- ; 1 case sensitive.
- ; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
- ; 4 quote end required ("Quotes:" section only).
- ; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
- ; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
- ; 32 don't highlight quote start ("Quotes:" section only).
- ; 64 don't highlight quote end ("Quotes:" section only).
- ; 128 don't catch and don't highlight quote start ("Quotes:" section only).
- ; 256 don't catch and don't highlight quote end ("Quotes:" section only).
- ; 512 quote start, delimiter or word located at line start.
- ; 1024 quote end, delimiter or word located at line end.
- ; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
- ; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
- ; 8192 quote doesn't contain delimiters ("Quotes:" section only).
- ; 16384 only quote start string is catched ("Quotes:" section only).
- Font:
- ;=================================================================
- ;FontStyle FontSize FaceName
- ;=================================================================
- ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
- Colors:
- ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
- ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
- ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
- ${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}
- AutoMark:
- ;====================================================================================================================
- ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
- ;====================================================================================================================
- ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
- Quotes:
- ;======================================================================
- ;Flags Font Color Color Quote Quote Escape Quote Quote
- ; style text bkgrnd start end char include exclude
- ;======================================================================
- ;5=1+4
- 5 3 ${STR} 0 "'" "'" "" "" ""
- ;1=1
- 1 3 ${COMM} 0 "//" "" ":" "" ""
- ;5=1+4
- 5 0 ${VAR} 0 "{$" "}" "" "" ""
- ;5=1+4
- 5 3 ${COMM} 0 "{" "}" "" "" ""
- ;5=1+4
- 5 3 ${COMM} 0 "(*" "*)" "" "" ""
- Delimiters:
- ;======================================
- ;Flags Font Color Color Char(s)
- ; style text bkgrnd
- ;======================================
- 1 0 0 0 " "
- 1 0 0 0 " "
- 1 0 ${DEL1} 0 (
- 1 0 ${DEL1} 0 )
- 1 0 ${DEL2} 0 [
- 1 0 ${DEL2} 0 ]
- 1 0 ${DEL2} 0 :
- 1 0 ${DEL2} 0 =
- 1 0 ${DEL2} 0 .
- 1 0 ${DEL2} 0 ,
- 1 0 ${DEL2} 0 ;
- 1 0 ${DEL2} 0 *
- 1 0 ${DEL2} 0 /
- 1 0 ${DEL2} 0 -
- 1 0 ${DEL2} 0 +
- 1 0 ${DEL2} 0 >
- 1 0 ${DEL2} 0 <
- 1 0 ${DEL2} 0 @
- 1 0 ${DEL2} 0 ^
- Words:
- ;===================================
- ;Flags Font Color Color Word
- ; style text bkgrnd
- ;===================================
- ;--Types--
- 0 0 ${TYPE} 0 AnsiChar
- 0 0 ${TYPE} 0 AnsiString
- 0 0 ${TYPE} 0 Boolean
- 0 0 ${TYPE} 0 Byte
- 0 0 ${TYPE} 0 ByteBool
- 0 0 ${TYPE} 0 Cardinal
- 0 0 ${TYPE} 0 Char
- 0 0 ${TYPE} 0 Comp
- 0 0 ${TYPE} 0 Currency
- 0 0 ${TYPE} 0 Double
- 0 0 ${TYPE} 0 Extended
- 0 0 ${TYPE} 0 Int64
- 0 0 ${TYPE} 0 Integer
- 0 0 ${TYPE} 0 LongBool
- 0 0 ${TYPE} 0 LongInt
- 0 0 ${TYPE} 0 LongWord
- 0 0 ${TYPE} 0 OleVariant
- 0 0 ${TYPE} 0 OpenString
- 0 0 ${TYPE} 0 PAnsiChar
- 0 0 ${TYPE} 0 PChar
- 0 0 ${TYPE} 0 Pointer
- 0 0 ${TYPE} 0 PWideChar
- 0 0 ${TYPE} 0 Real
- 0 0 ${TYPE} 0 Real46
- 0 0 ${TYPE} 0 ShortInt
- 0 0 ${TYPE} 0 ShortString
- 0 0 ${TYPE} 0 Single
- 0 0 ${TYPE} 0 SmallInt
- 0 0 ${TYPE} 0 String
- 0 0 ${TYPE} 0 TDateTime
- 0 0 ${TYPE} 0 Text
- 0 0 ${TYPE} 0 TextFile
- 0 0 ${TYPE} 0 UInt64
- 0 0 ${TYPE} 0 UnicodeString
- 0 0 ${TYPE} 0 Variant
- 0 0 ${TYPE} 0 WideChar
- 0 0 ${TYPE} 0 WideString
- 0 0 ${TYPE} 0 Word
- 0 0 ${TYPE} 0 WordBool
- ;--Math--
- 0 0 ${OP} 0 and
- 0 0 ${OP} 0 as
- 0 0 ${OP} 0 div
- 0 0 ${OP} 0 in
- 0 0 ${OP} 0 is
- 0 0 ${OP} 0 mod
- 0 0 ${OP} 0 not
- 0 0 ${OP} 0 or
- 0 0 ${OP} 0 shl
- 0 0 ${OP} 0 shr
- 0 0 ${OP} 0 xor
- ;--Operators--
- 0 0 ${OP} 0 array
- 0 0 ${OP} 0 absolute
- 0 0 ${OP} 0 abstract
- 0 0 ${OP} 0 asm
- 0 0 ${OP} 0 assembler
- 0 0 ${OP} 0 automated
- 0 0 ${OP} 0 begin
- 0 0 ${OP} 0 cdecl
- 0 0 ${OP} 0 class
- 0 0 ${OP} 0 const
- 0 0 ${OP} 0 constructor
- 0 0 ${OP} 0 contains
- 0 0 ${OP} 0 destructor
- 0 0 ${OP} 0 dispid
- 0 0 ${OP} 0 dispinterface
- 0 0 ${OP} 0 dynamic
- 0 0 ${OP} 0 end
- 0 0 ${OP} 0 export
- 0 0 ${OP} 0 exports
- 0 0 ${OP} 0 external
- 0 0 ${OP} 0 far
- 0 0 ${OP} 0 file
- 0 0 ${OP} 0 finalization
- 0 0 ${OP} 0 forward
- 0 0 ${OP} 0 function
- 0 0 ${OP} 0 implementation
- 0 0 ${OP} 0 inherited
- 0 0 ${OP} 0 initialization
- 0 0 ${OP} 0 inline
- 0 0 ${OP} 0 interface
- 0 0 ${OP} 0 interrupt
- 0 0 ${OP} 0 label
- 0 0 ${OP} 0 library
- 0 0 ${OP} 0 message
- 0 0 ${OP} 0 near
- 0 0 ${OP} 0 nil
- 0 0 ${OP} 0 object
- 0 0 ${OP} 0 out
- 0 0 ${OP} 0 overload
- 0 0 ${OP} 0 override
- 0 0 ${OP} 0 package
- 0 0 ${OP} 0 packed
- 0 0 ${OP} 0 pascal
- 0 0 ${OP} 0 private
- 0 0 ${OP} 0 procedure
- 0 0 ${OP} 0 program
- 0 0 ${OP} 0 property
- 0 0 ${OP} 0 protected
- 0 0 ${OP} 0 public
- 0 0 ${OP} 0 published
- 0 0 ${OP} 0 raise
- 0 0 ${OP} 0 read
- 0 0 ${OP} 0 record
- 0 0 ${OP} 0 register
- 0 0 ${OP} 0 reintroduce
- 0 0 ${OP} 0 requires
- 0 0 ${OP} 0 resident
- 0 0 ${OP} 0 resourcestring
- 0 0 ${OP} 0 result
- 0 0 ${OP} 0 safecall
- 0 0 ${OP} 0 Self
- 0 0 ${OP} 0 set
- 0 0 ${OP} 0 SizeOf
- 0 0 ${OP} 0 stdcall
- 0 0 ${OP} 0 strict
- 0 0 ${OP} 0 threadvar
- 0 0 ${OP} 0 type
- 0 0 ${OP} 0 unit
- 0 0 ${OP} 0 uses
- 0 0 ${OP} 0 var
- 0 0 ${OP} 0 virtual
- 0 0 ${OP} 0 write
- ;--Conditional--
- 0 0 ${IF} 0 break
- 0 0 ${IF} 0 case
- 0 0 ${IF} 0 do
- 0 0 ${IF} 0 downto
- 0 0 ${IF} 0 else
- 0 0 ${IF} 0 except
- 0 0 ${IF} 0 Exit
- 0 0 ${IF} 0 finally
- 0 0 ${IF} 0 for
- 0 0 ${IF} 0 goto
- 0 0 ${IF} 0 if
- 0 0 ${IF} 0 of
- 0 0 ${IF} 0 on
- 0 0 ${IF} 0 repeat
- 0 0 ${IF} 0 then
- 0 0 ${IF} 0 to
- 0 0 ${IF} 0 try
- 0 0 ${IF} 0 until
- 0 0 ${IF} 0 while
- 0 0 ${IF} 0 with
- ;----------------------------------------------;
- ; CodeFold ;
- ;----------------------------------------------;
- ;Flags (sum of the members)
- ; 1 case sensitive.
- ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
- ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
- ; 8 fold start located at line start ("Folds:" section only).
- ; 16 fold start located at line end ("Folds:" section only).
- ; 32 fold end located at line start ("Folds:" section only).
- ; 64 fold end located at line end ("Folds:" section only).
- ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
- ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
- ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
- ; 1024 reserved.
- ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
- ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
- ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
- ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
- ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
- ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
- ; 131072 deny delimiters ("Folds:" section only).
- FoldPanel:
- ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
- ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
- FoldList:
- ;================================================
- ;ListTextColor ListBkColor
- ;================================================
- ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
- TagMark:
- ;============================================================================================================
- ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
- ;============================================================================================================
- ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
- Skips:
- ;=============================
- ;Flags Skip Skip Escape
- ; start end char
- ;=============================
- 1 "'" "'" "\"
- 1 "//" "" ":"
- Folds:
- ;=====================================================================
- ;Flags Font Color Color Fold Fold Delimiters
- ; style text bkgrnd start end
- ;=====================================================================
- ;513=1+512
- 513 3 ${COMM} 0 "{ " "}" ""
- ;513=1+512
- 513 3 ${COMM} 0 "(*" "*)" ""
- ;130=2+128
- 2 0 0 0 "case" "end" " ;.}"
- 2 0 0 0 "begin" "end" " ;.}"
- 2 0 0 0 "implementation" "end" " ;.}"
- 2 0 0 0 "repeat" "until" " ;.}"
- ;--try--
- 2 0 0 0 "try" "end" " ;.}"
- ;130=2+128
- 130 0 0 0 "try" "except" " ;.}"
- ;130=2+128
- 130 0 0 0 "try" "finally" " ;.}"
- 2 0 0 0 "except" "end" " ;.}"
- 2 0 0 0 "finally" "end" " ;.}"
- ;--Definitions--
- 2 0 0 0 "record" "end" " ;.}"
- 2048 0 0 0 "class;" "" ""
- 2 0 0 0 "class" "end" " ;.}("
- ;131145= 131072+64+8+1
- 131145 0 0 0 "{$REGION" "{$ENDREGION}" ""
- ;----------------------------------------------;
- ; AutoComplete ;
- ;----------------------------------------------;
- Blocks:
- ;======================================================================
- ;Abbreviations and blocks
- ;
- ; $~abbr abbreviation.
- ; $[] set caret to this position. Can be multiple (hot spots).
- ; $[text] select text. Can be multiple (hot spots).
- ; $$ symbol $.
- ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
- ; ${VAR} variable assigned from Coder::Settings.
- ; $; comment line.
- ;======================================================================
- $~if
- if $[] then
- begin
- ${AutoComplete_Indent}$[]
- end;
- $~while
- while $[] do
- begin
- ${AutoComplete_Indent}$[]
- end;
- $~for
- for $[] to $[] do
- begin
- ${AutoComplete_Indent}$[]
- end;
- $~with
- with $[] do
- begin
- ${AutoComplete_Indent}$[]
- end;
- $~repeat
- repeat
- ${AutoComplete_Indent}$[]
- until $[];
- $~case
- case $[] of
- ${AutoComplete_Indent}$[]
- end;
- $~procedure
- procedure $[];
- begin
- ${AutoComplete_Indent}$[]
- end;
- $~function
- function $[];
- begin
- ${AutoComplete_Indent}$[]
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement