;----------------------------------------------; ; Coder plugin syntax file ; ;----------------------------------------------; ;Colors ; Color need to be in #RRGGBB or #RGB 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. ;Author: Skif_off (2017-05-21) ;AkelPad 4.9.6 and higher ;https://github.com/Lenchik/Akelpad-syntax-highlighting/blob/master/_syslinux.coder - working version ;https://github.com/Lenchik/Akelpad-syntax-highlighting/blob/master/source_for_developers/_syslinux.utf8.coder - development version in UTF-8 for easier development on GitHub ; ; Don't rename file! Не переименовывать файл! ; ; Menu item "SYNTAXTHEME" (set syntax theme manually) (for PXELINUX and other): ; Пункт меню для ручного включения (для PXELINUX и др.): ; "Syslinux" Call("Coder::Settings", 6, "syslinux.cfg") Files: ;========== ;File types ;========== syslinux.cfg isolinux.cfg extlinux.conf ;----------------------------------------------; ; 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 5 3 ${STR} 0 `"` `"` "" "" "" 0 0 ;513=1+512 513 3 ${COMM} 0 "#" "" "" "" "" 0 0 ;640=128+512 640 3 ${STR} 0 "LABEL" "" "" "" "" 0 0 ;33280=512+32768 33280 0 ${IF} 0 "MENU " "EXIT" "" "" "" 0 0 QuotesRE: ;=========================================================================================== ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID ;=========================================================================================== ;Global Directives - Secondary: F1...F12 1 "^[ \t]*([Ff][1-9][0-2]?)[ \t]([^\r\n]++)$" "\1=(0,${IF},0) \2=(0,0,0)" 0 0 ;MENU 0 "^[ \t]*(MENU BEGIN)[ \t]([^\r\n]++)$" "\1=(0,${IF},0) \2=(2,0,0)" 0 0 0 "^[ \t]*(MENU END)(?![A-Za-Z])" "\1=(0,${IF},0)" 0 0 0 "^[ \t]*(MENU MASTER PASSWD)[ \t]([^\r\n]++)$" "\1=(0,${OP},0) \2=(3,${STR},0)" 0 0 0 "^[ \t]*(MENU) (LABEL|AUTOBOOT|NOTABMSG|PASSPROMPT|PASSWD|TABMSG|TITLE)[ \t]([^\r\n]++)$" "\1=(0,${OP},0) \2=(0,${OP},0) \3=(3,${STR},0)" 0 0 0 "^[ \t]*(MENU (GOTO|EXIT))[ \t]([^\r\n]++)$" "\1=(0,${OP},0) \2=(2,0,0)" 0 0 0 "^[ \t]*(MENU (BACKGROUND|MSGCOLOR|COLOR|CMDLINEROW|ENDROW|HELPMSGENDROW|HELPMSGROW|HELP|HIDDENKEY|HIDDENROW|HSHIFT|INDENT|MARGIN|PASSWORDMARGIN|PASSWORDROW|RESOLUTION|ROWS|TABMSGROW|TIMEOUTROW|VSHIFT|WIDTH))" "\1=(0,${OP},0)" 0 0 0 "^[ \t]*(MENU (CLEAR|DEFAULT|DISABLE|HIDDEN|HIDE|IMMEDIATE|NOSAVE|QUIT|SAVE|SEPARATOR|SHIFTKEY|START))" "\1=(0,${OP},0)" 0 0 0 "^[ \t]*(MENU )?INCLUDE" "\0=(0,${AREA},0)" 0 0 ;Color codes 1 "#[\dA-Fa-f]{8}+" "\0=(0,${NUM},0)" 0 0 Delimiters: ;=============================================== ;Flags Font Color Color Char(s) Parent ; style text bkgrnd ID ;=============================================== 1 0 0 0 " " 1 0 0 0 " " 1 0 0 0 `"` 1 0 ${DEL1} 0 = 1 0 ${DEL1} 0 : Words: ;=========================================== ;Flags Font Color Color Word Parent ; style text bkgrnd ID ;=========================================== ;2 0 ${NUM} 0 "0123456789" ;Global Directives - Main 512 0 ${IF} 0 DEFAULT 512 0 ${IF} 0 UI 512 0 ${OP} 0 LABEL ;512 2 ${AREA} 0 INCLUDE ;512 2 ${AREA} 0 MENU INCLUDE ;512 0 ${IF} 0 MENU LABEL ;512 0 ${IF} 0 MENU INDENT ;512 0 ${IF} 0 MENU SEPARATOR ;512 0 ${IF} 0 MENU DISABLE ;512 0 ${IF} 0 MENU HIDE ;512 0 ${IF} 0 TEXT HELP 512 0 ${IF} 0 ENDTEXT ;512 0 ${IF} 0 MENU BEGIN ;512 0 ${IF} 0 MENU END ;512 0 ${IF} 0 MENU GOTO ;512 0 ${IF} 0 MENU EXIT ;512 0 ${IF} 0 MENU QUIT ;512 0 ${IF} 0 MENU START ;512 0 ${IF} 0 MENU DEFAULT ;512 0 ${IF} 0 MENU PASSWD ;512 0 ${IF} 0 MENU MASTER PASSWD ;512 0 ${IF} 0 MENU TITLE ;512 0 ${IF} 0 MENU HIDDEN ;512 0 ${IF} 0 MENU HIDDENKEY ;512 0 ${IF} 0 MENU SHIFTKEY ;512 0 ${IF} 0 MENU IMMEDIATE ;512 0 ${IF} 0 MENU CLEAR ;512 0 ${IF} 0 MENU RESOLUTION ;512 0 ${IF} 0 MENU BACKGROUND ;512 0 ${IF} 0 MENU SAVE ;512 0 ${IF} 0 MENU NOSAVE ;512 0 ${IF} 0 MENU AUTOBOOT ;512 0 ${IF} 0 MENU TABMSG ;512 0 ${IF} 0 MENU NOTABMSG ;512 0 ${IF} 0 MENU PASSPROMPT ;512 0 ${IF} 0 MENU COLOR ;512 0 ${IF} 0 MENU MSGCOLOR ;;;Layout ;512 0 ${IF} 0 MENU WIDTH ;512 0 ${IF} 0 MENU MARGIN ;512 0 ${IF} 0 MENU PASSWORDMARGIN ;512 0 ${IF} 0 MENU ROWS ;512 0 ${IF} 0 MENU TABMSGROW ;512 0 ${IF} 0 MENU CMDLINEROW ;512 0 ${IF} 0 MENU ENDROW ;512 0 ${IF} 0 MENU PASSWORDROW ;512 0 ${IF} 0 MENU TIMEOUTROW ;512 0 ${IF} 0 MENU HELPMSGROW ;512 0 ${IF} 0 MENU HELPMSGENDROW ;512 0 ${IF} 0 MENU HIDDENROW ;512 0 ${IF} 0 MENU HSHIFT ;512 0 ${IF} 0 MENU VSHIFT ; ;512 0 ${IF} 0 MENU HELP ;Dual-Purpose Directives 512 0 ${OP} 0 APPEND 512 0 ${OP} 0 SYSAPPEND 512 0 ${OP} 0 IPAPPEND ;Kernel-Like Directives 512 0 ${OP} 0 KERNEL 512 0 ${OP} 0 LINUX 512 0 ${OP} 0 BOOT 512 0 ${OP} 0 BSS 512 0 ${OP} 0 COMBOOT 512 0 ${OP} 0 COM32 512 0 ${OP} 0 FDIMAGE 512 0 ${OP} 0 PXE 512 0 ${OP} 0 CONFIG 512 0 ${OP} 0 LOCALBOOT ;Label-Only Directives 512 0 ${OP} 0 INITRD ;Global Directives - Secondary 512 0 ${OP} 0 SERIAL 512 0 ${OP} 0 NOHALT 512 0 ${OP} 0 CONSOLE 512 0 ${OP} 0 SENDCOOKIES 512 0 ${OP} 0 PATH 512 0 ${OP} 0 TIMEOUT 512 0 ${OP} 0 TOTALTIMEOUT 512 0 ${OP} 0 ONTIMEOUT 512 0 ${OP} 0 ALLOWOPTIONS 512 0 ${OP} 0 IMPLICIT 512 0 ${OP} 0 NOCOMPLETE 512 0 ${OP} 0 NOESCAPE 512 0 ${OP} 0 ONERROR 512 0 ${OP} 0 PROMPT 512 0 ${OP} 0 KBDMAP 512 0 ${OP} 0 FONT 512 0 ${OP} 0 SAY 512 0 ${OP} 0 DISPLAY 512 0 ${IF} 0 F1 512 0 ${IF} 0 F2 512 0 ${IF} 0 F3 512 0 ${IF} 0 F4 512 0 ${IF} 0 F5 512 0 ${IF} 0 F6 512 0 ${IF} 0 F7 512 0 ${IF} 0 F8 512 0 ${IF} 0 F9 512 0 ${IF} 0 F10 512 0 ${IF} 0 F11 512 0 ${IF} 0 F12 ;----------------------------------------------; ; 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). Backreference \101 matches \1 in fold start, \102 matches \2 and so on. 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 `"` `"` "" ;9=1+8 9 "#" "" "" Folds: ;=========================================================================== ;Flags Font Color Color Fold Fold Deli Parent Rule Rule ; style text bkgrnd start end miters ID ID file ;=========================================================================== ;300=4+8+32+256 300 0 0 0 "MENU BEGIN" "MENU END" "" 0 0 ;4108=4+8+4096 4108 0 0 0 "MENU LABEL" " " "" 0 0 ;262700=4+8+32+512+262144 262700 3 ${STR} 0 "TEXT HELP" "ENDTEXT" "" 0 0 ; http://akelpad.sourceforge.net/forum/viewtopic.php?p=28773#28773 ;2097664=512+2097152 ;2097664 0 0 0 "LABEL" ".\n\n" "" 0 0 ;----------------------------------------------; ; 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. ;============================================================================= $~MENU...BEGIN MENU BEGIN $[tagname] ${AutoComplete_Indent}$[directive] MENU END $~MENU...END MENU END $~TEXT...HELP TEXT HELP $[help text] ENDTEXT $~MENU...LABEL MENU LABEL $[label] $~MENU...INDENT MENU INDENT $[count] $~MENU...SEPARATOR MENU SEPARATOR $~MENU...DISABLE MENU DISABLE $~MENU...HIDE MENU HIDE $~MENU...GOTO MENU GOTO $[tagname] $~MENU...EXIT MENU EXIT $[tagname] $~MENU...QUIT MENU QUIT $~MENU...START MENU START $~MENU...DEFAULT MENU DEFAULT $~MENU...INCLUDE MENU INCLUDE $[filename] $~MENU...INCLUDE MENU INCLUDE $[filename] $[tagname] $~MENU...PASSWD MENU PASSWD $[passwd] $~MENU...MASTER...PASSWD MENU MASTER PASSWD $[passwd] $~MENU...TITLE MENU TITLE $[title] $~MENU...HIDDEN MENU HIDDEN $~MENU...HIDDENKEY MENU HIDDENKEY $[key] $[command] $~MENU...SHIFTKEY MENU SHIFTKEY $~MENU...IMMEDIATE MENU IMMEDIATE $~MENU...CLEAR MENU CLEAR $~MENU...RESOLUTION MENU RESOLUTION $[width] $[height] $~MENU...BACKGROUND MENU BACKGROUND $[background] $~MENU...SAVE MENU SAVE $~MENU...NOSAVE MENU NOSAVE $~MENU...AUTOBOOT MENU AUTOBOOT $[message] $~MENU...TABMSG MENU TABMSG $[message] $~MENU...NOTABMSG MENU NOTABMSG $[message] $~MENU...PASSPROMPT MENU PASSPROMPT $[message] $~MENU...COLOR MENU COLOR $[element] $[ansi] $[foreground] $[background] $[shadow] $~MENU...MSGCOLOR MENU MSGCOLOR $[fg_filter] $[bg_filter] $[shadow] $~MENU...WIDTH MENU WIDTH $[count] $~MENU...MARGIN MENU MARGIN $[count] $~MENU...PASSWORDMARGIN MENU PASSWORDMARGIN $[count] $~MENU...ROWS MENU ROWS $[count] $~MENU...TABMSGROW MENU TABMSGROW $[count] $~MENU...CMDLINEROW MENU CMDLINEROW $[count] $~MENU...ENDROW MENU ENDROW $[count] $~MENU...PASSWORDROW MENU PASSWORDROW $[count] $~MENU...TIMEOUTROW MENU TIMEOUTROW $[count] $~MENU...HELPMSGROW MENU HELPMSGROW $[count] $~MENU...HELPMSGENDROW MENU HELPMSGENDROW $[count] $~MENU...HIDDENROW MENU HIDDENROW $[count] $~MENU...HSHIFT MENU HSHIFT $[count] $~MENU...VSHIFT MENU VSHIFT $[count] $~MENU...HELP MENU HELP $[count]