;----------------------------------------------; ; Coder plugin syntax file ; ;----------------------------------------------; ;Author: Paulus ;============== ;This syntax file is fortran 90/95 compatible. ;Some extended and obsolete fortran features are not supported. ;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. Files: ;========== ;File types ;========== *.f *.for *.f77 *.f90 *.f95 *.ftn *.ftn77 *.ftn90 *.ftn95 *.fi ;----------------------------------------------; ; 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). ; 32768 quote doesn't contain any character ("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} BkImage: ;================================================== ;BkImageFile BkImageAlpha ;================================================== ${HighLight_BkImageFile} ${HighLight_BkImageAlpha} AutoMark: ;==================================================================================================================== ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor ;==================================================================================================================== ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor} Quotes: ;=================================================================================== ;Flags Font Color Color Quote Quote Escape Quote Quote Parent Rule ; style text bkgrnd start end char include exclude ID ID ;=================================================================================== ;5=1+4 4 0 ${STR} 0 `"` `"` "" "" "" 4 0 ${STR} 0 `'` `'` "" "" "" ;512+2048 2560 2 ${COMM} 0 "!DEC$" "" "" "" "" 2560 2 ${COMM} 0 "cDEC$" "" "" "" "" 2560 2 ${COMM} 0 "*DEC$" "" "" "" "" 2560 2 ${COMM} 0 "!$OMP" "" "" "" "" 2560 2 ${COMM} 0 "c$OMP" "" "" "" "" 2560 2 ${COMM} 0 "*$OMP" "" "" "" "" 0 3 ${COMM} 0 "!" "" "" "" "" ;-- Old standard comments 2560 3 ${COMM} 0 "c" "" "" "" "" ;2560 3 ${COMM} 0 "*" "" "" "" "" QuotesRE: ;=========================================================================================== ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID ;=========================================================================================== Delimiters: ;=============================================== ;Flags Font Color Color Char(s) Parent ; style text bkgrnd ID ;=============================================== ;--Expression Operators-- 0 0 ${OP} 0 .eq. 0 0 ${OP} 0 .ne. 0 0 ${OP} 0 .lt. 0 0 ${OP} 0 .le. 0 0 ${OP} 0 .gt. 0 0 ${OP} 0 .ge. 0 0 ${OP} 0 .not. 0 0 ${OP} 0 .and. 0 0 ${OP} 0 .or. 0 0 ${OP} 0 .xor. 0 0 ${OP} 0 .eqv. 0 0 ${OP} 0 .neqv. ;--Delimiters-- 0 0 0 0 " " 0 0 0 0 " " 0 0 0 0 ( 0 0 0 0 ) 0 0 0 0 . 0 0 0 0 , 0 0 0 0 : 0 0 0 0 ; 0 0 0 0 ! 0 0 0 0 = 0 0 0 0 - 0 0 0 0 * 0 0 0 0 + 0 0 0 0 / 0 0 0 0 < 0 0 0 0 > 0 0 0 0 & 0 0 0 0 % 0 0 0 0 ? 0 0 0 0 $ 0 0 0 0 ' 0 0 0 0 " Words: ;=========================================== ;Flags Font Color Color Word Parent ; style text bkgrnd ID ;=========================================== ;--Types-- 0 0 ${TYPE} 0 real 0 0 ${TYPE} 0 integer 0 0 ${TYPE} 0 byte 0 0 ${TYPE} 0 double 0 0 ${TYPE} 0 complex 0 0 ${TYPE} 0 precision 0 0 ${TYPE} 0 logical 0 0 ${TYPE} 0 character 0 0 ${TYPE} 0 type ;--Attribute specifiers-- 0 0 ${TYPE} 0 allocatable 0 0 ${TYPE} 0 automatic 0 0 ${TYPE} 0 dimension 0 0 ${TYPE} 0 external 0 0 ${TYPE} 0 intent 0 0 ${TYPE} 0 intrinsic 0 0 ${TYPE} 0 optional 0 0 ${TYPE} 0 parameter 0 0 ${TYPE} 0 pointer 0 0 ${TYPE} 0 private 0 0 ${TYPE} 0 public 0 0 ${TYPE} 0 save 0 0 ${TYPE} 0 static 0 0 ${TYPE} 0 target 0 0 ${TYPE} 0 volatile ;--Operators-- 0 0 ${OP} 0 common 0 0 ${OP} 0 block 0 0 ${OP} 0 data 0 0 ${OP} 0 assign 0 0 ${OP} 0 backspace 0 0 ${OP} 0 call 0 0 ${OP} 0 close 0 0 ${OP} 0 endfile 0 0 ${OP} 0 entry 0 0 ${OP} 0 equivalence 0 0 ${OP} 0 format 0 0 ${OP} 0 implicit 0 0 ${OP} 0 inquire 0 0 ${OP} 0 open 0 0 ${OP} 0 print 0 0 ${OP} 0 read 0 0 ${OP} 0 rewind 0 0 ${OP} 0 rewrite 0 0 ${OP} 0 write 0 0 ${OP} 0 allocate 0 0 ${OP} 0 case 0 0 ${OP} 0 contains 0 0 ${OP} 0 deallocate 0 0 ${OP} 0 include 0 0 ${OP} 0 interface 0 0 ${OP} 0 namelist 0 0 ${OP} 0 nullify 0 0 ${OP} 0 only 0 0 ${OP} 0 operator 0 0 ${OP} 0 procedure 0 0 ${OP} 0 result 0 0 ${OP} 0 recursive 0 0 ${OP} 0 select 0 0 ${OP} 0 sequence 0 0 ${OP} 0 use 0 0 ${OP} 0 elemental 0 0 ${OP} 0 pure 0 0 ${OP} 0 stop 0 0 ${OP} 0 pause 0 0 ${OP} 0 return ;--Conditional-- 0 0 ${IF} 0 program 0 0 ${IF} 0 function 0 0 ${IF} 0 module 0 0 ${IF} 0 subroutine 0 0 ${IF} 0 do 0 0 ${IF} 0 end 0 0 ${IF} 0 enddo 0 0 ${IF} 0 if 0 0 ${IF} 0 then 0 0 ${IF} 0 elseif 0 0 ${IF} 0 else 0 0 ${IF} 0 endif 0 0 ${IF} 0 where 0 0 ${IF} 0 elsewhere 0 0 ${IF} 0 endwhere 0 0 ${IF} 0 forall 0 0 ${IF} 0 endforall 0 0 ${IF} 0 select 0 0 ${IF} 0 case 0 0 ${IF} 0 default 0 0 ${IF} 0 endselect 0 0 ${IF} 0 switch 0 0 ${IF} 0 while 0 0 ${IF} 0 endwhile 0 0 ${IF} 0 continue 0 0 ${IF} 0 cycle 0 0 ${IF} 0 exit 0 0 ${IF} 0 goto ;--Intrinsic Procedures-- 0 0 ${OP} 0 abs 0 0 ${OP} 0 achar 0 0 ${OP} 0 acos 0 0 ${OP} 0 adjustl 0 0 ${OP} 0 adjustr 0 0 ${OP} 0 aimag 0 0 ${OP} 0 aint 0 0 ${OP} 0 all 0 0 ${OP} 0 allocated 0 0 ${OP} 0 anint 0 0 ${OP} 0 any 0 0 ${OP} 0 asin 0 0 ${OP} 0 associated 0 0 ${OP} 0 atan 0 0 ${OP} 0 atan2 0 0 ${OP} 0 bit_size 0 0 ${OP} 0 btest 0 0 ${OP} 0 ceiling 0 0 ${OP} 0 char 0 0 ${OP} 0 cmplx 0 0 ${OP} 0 conjg 0 0 ${OP} 0 cos 0 0 ${OP} 0 cosh 0 0 ${OP} 0 count 0 0 ${OP} 0 cpu_time 0 0 ${OP} 0 cshift 0 0 ${OP} 0 date_and_time 0 0 ${OP} 0 dble 0 0 ${OP} 0 digits 0 0 ${OP} 0 dim 0 0 ${OP} 0 dot_product 0 0 ${OP} 0 dprod 0 0 ${OP} 0 eoshift 0 0 ${OP} 0 epsilon 0 0 ${OP} 0 exp 0 0 ${OP} 0 exponent 0 0 ${OP} 0 floor 0 0 ${OP} 0 fraction 0 0 ${OP} 0 huge 0 0 ${OP} 0 iachar 0 0 ${OP} 0 iand 0 0 ${OP} 0 ibclr 0 0 ${OP} 0 ibits 0 0 ${OP} 0 ibset 0 0 ${OP} 0 ichar 0 0 ${OP} 0 ieor 0 0 ${OP} 0 index 0 0 ${OP} 0 int 0 0 ${OP} 0 ior 0 0 ${OP} 0 ishft 0 0 ${OP} 0 ishftc 0 0 ${OP} 0 kind 0 0 ${OP} 0 lbound 0 0 ${OP} 0 len 0 0 ${OP} 0 len_trim 0 0 ${OP} 0 lge 0 0 ${OP} 0 lgt 0 0 ${OP} 0 lle 0 0 ${OP} 0 llt 0 0 ${OP} 0 log 0 0 ${OP} 0 log10 0 0 ${OP} 0 logical 0 0 ${OP} 0 matmul 0 0 ${OP} 0 max 0 0 ${OP} 0 maxexponent 0 0 ${OP} 0 maxloc 0 0 ${OP} 0 maxval 0 0 ${OP} 0 merge 0 0 ${OP} 0 min 0 0 ${OP} 0 minexponent 0 0 ${OP} 0 minloc 0 0 ${OP} 0 minval 0 0 ${OP} 0 mod 0 0 ${OP} 0 modulo 0 0 ${OP} 0 mvbits 0 0 ${OP} 0 nearest 0 0 ${OP} 0 nint 0 0 ${OP} 0 not 0 0 ${OP} 0 null 0 0 ${OP} 0 pack 0 0 ${OP} 0 precision 0 0 ${OP} 0 present 0 0 ${OP} 0 product 0 0 ${OP} 0 radix 0 0 ${OP} 0 random_number 0 0 ${OP} 0 random_seed 0 0 ${OP} 0 range 0 0 ${OP} 0 real 0 0 ${OP} 0 repeat 0 0 ${OP} 0 reshape 0 0 ${OP} 0 rrspacing 0 0 ${OP} 0 scale 0 0 ${OP} 0 scan 0 0 ${OP} 0 selected_int_kind 0 0 ${OP} 0 selected_real_kind 0 0 ${OP} 0 set_exponent 0 0 ${OP} 0 shape 0 0 ${OP} 0 sign 0 0 ${OP} 0 sin 0 0 ${OP} 0 sinh 0 0 ${OP} 0 size 0 0 ${OP} 0 spacing 0 0 ${OP} 0 spread 0 0 ${OP} 0 sqrt 0 0 ${OP} 0 sum 0 0 ${OP} 0 system_clock 0 0 ${OP} 0 tan 0 0 ${OP} 0 tanh 0 0 ${OP} 0 tiny 0 0 ${OP} 0 transfer 0 0 ${OP} 0 transpose 0 0 ${OP} 0 trim 0 0 ${OP} 0 ubound 0 0 ${OP} 0 unpack 0 0 ${OP} 0 verify ;----------------------------------------------; ; 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 ("Folds:" section) or skip start ("Skips:" section) located at line start. ; 16 fold start ("Folds:" section) or skip start ("Skips:" section) located at line end. ; 32 fold end ("Folds:" section) or skip end ("Skips:" section) located at line start. ; 64 fold end ("Folds:" section) or skip end ("Skips:" section) located at line end. ; 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 - "", "", "" ("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). ; 262144 don't show fold in list ("Folds:" section only). ; 1048576 regular expression in fold start ("Folds:" section) or skip start ("Skips:" section). ; 2097152 regular expression in fold end ("Folds:" section) or skip end ("Skips:" section). 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 ;============================= 0 `"` `"` "" 0 `'` `'` "" 0 "!" "" "" ;0 "c" "" "" ;0 "*" "" "" 0 "!DEC$" "" "" 0 "cDEC$" "" "" 0 "*DEC$" "" "" 0 "!$OMP" "" "" 0 "c$OMP" "" "" 0 "*$OMP" "" "" Folds: ;================================================================================================ ;Flags Font Color Color Fold Fold Delimiters Parent Rule Rule ; style text bkgrnd start end ID ID file ;================================================================================================ ;512 3 ${COMM} 0 "!" "" "" ;8+512 ;520 3 ${COMM} 0 "c" "" " " 2 0 0 0 "do" "end do" " " 2 0 0 0 "do" "enddo" " " ; 8 0 0 0 "type" "::" "() " 8 0 0 0 "type" "end type" "() " 8 0 0 0 "type" "endtype" "() " ;--SELECT CASE-- ;42=2+8+32 10 0 0 0 "select case" "end select" " " 10 0 0 0 "selectcase" "endselect" " " ;426=2+8+32+128+256 394 0 0 0 "select case" "case" " " 394 0 0 0 "selectcase" "case" " " ;426=2+8+32+128+256 394 0 0 0 "case" "case default" "() " ;2120=8+64+2048 2120 0 0 0 "case" "case" "() " ;40=8+32 8 0 0 0 "case" "end select" "() " 8 0 0 0 "case" "endselect" "() " ;424=8+32+128+256 392 0 0 0 "case" "case" "() " 392 0 0 0 "case" "case default" "() " ;40=8+32 8 0 0 0 "case default" "end select" "() " 8 0 0 0 "case default" "endselect" "() " ;----------------------- ;--IF...ELSE...END IF-- ;50=2+16+32 ;2+128+256 386 0 0 0 "then" "end if" "() " 386 0 0 0 "then" "endif" "() " ;434=2+16+32+128+256 ;386=2+128+256 386 0 0 0 "then" "else if" "() " 386 0 0 0 "then" "elseif" "() " 386 0 0 0 "then" "else" "() " ;424=8+32+128+256 ;392=8+128+256 392 0 0 0 "else if" "else if" "() " 392 0 0 0 "elseif" "elseif" "() " 392 0 0 0 "else if" "else" "() " 392 0 0 0 "elseif" "else" "() " ;2121=8+64+2048 2120 0 0 0 "else if" "then" "() " 2120 0 0 0 "elseif" "then" "() " 8 0 0 0 "else if" "end if" "() " 8 0 0 0 "elseif" "endif" "() " ;40=8+32 8 0 0 0 "else" "end if" "() " 8 0 0 0 "else" "endif" "() " ;------------------------ ;32+2 34 0 0 0 "function" "end function" " " 34 0 0 0 "function" "end" " " 34 0 0 0 "subroutine" "end subroutine" " " 34 0 0 0 "subroutine" "end" " " 34 0 0 0 "module" "end module" " " 34 0 0 0 "module" "end" " " 34 0 0 0 "interface" "end interface" " " 34 0 0 0 "interface" "end" " " ;----------------------------------------------; ; AutoComplete ; ;----------------------------------------------; ;Flags (sum of the members) ; 1 force case sensitive. ; 2 force case insensitive. ; 4 regular expression (only for "$="). Scan starts from caret line beginning and metacharacters \a or \z specified caret position. ; 8 Don't show in listbox. CompleteList: ;===================================================================================================================================================================================================================================================================================================================================================================================================================================================================== ;ListFontStyle ListFontSize ListFaceName ListLineGap ListBlockIcon `"C:\1.dll", 0` ListBlockIconMargins "left;right" ListHlBaseIcon `"C:\1.dll", 0` ListHlBaseIconMargins "left;right" ListDocWordIcon `"C:\1.dll", 0` ListDocWordIconMargins "left;right" ListBasicTextColor ListBasicBkColor ListSelTextColor ListSelBkColor ;===================================================================================================================================================================================================================================================================================================================================================================================================================================================================== ${AutoComplete_ListFontStyle} ${AutoComplete_ListFontSize} ${AutoComplete_ListFaceName} ${AutoComplete_ListLineGap} ${AutoComplete_ListBlockIcon} ${AutoComplete_ListBlockIconMargins} ${AutoComplete_ListHlBaseIcon} ${AutoComplete_ListHlBaseIconMargins} ${AutoComplete_ListDocWordIcon} ${AutoComplete_ListDocWordIconMargins} ${AutoComplete_ListBasicTextColor} ${AutoComplete_ListBasicBkColor} ${AutoComplete_ListSelTextColor} ${AutoComplete_ListSelBkColor} Blocks: ;============================================================================= ;Abbreviations and blocks ; ; $~abbr normal abbreviation. ; $(flags)~abbr normal abbreviation with flags. ; $=abbr exact abbreviation. May contain delimiters. ; $(flags)=abbr exact abbreviation with flags. May contain delimiters. ; $[] 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. ;=============================================================================