-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all,

included here is a syntax highlighting file for kid.

one is for xml, which i have slightly improved, since the original
attributes regexp didn't recognize the second paranthesized pattern.

the kid.highlighting file contains a filetype definition row (the first
one), and the highlighting code on all the other rows.

enjoy and thanks again for kid,

alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRl07TtpwN1sq38njAQK9qAP+PYnbzWdQd6ak/h66uNleO94g4sxuR/uE
NtskxVrSMNvR77aTqaWVsNV4AL3GjphwfGmcRiNWx9+350lYOShWdlLOT6ZwWaMe
FX+VMH2DSDR72pbE00oB5Ta1RoVMiiwrNoJh5MQzZ3mQJ33NwvjWfuNzcbrlg31w
M2vSG15xVKU=
=nVkQ
-----END PGP SIGNATURE-----
filetypes: kid:.kid:<> \\n":/usr/share/bluefish/icon_xml.png::::
patterns: kid:Character Entity:1:&[^;]+;::2::#9b0054::0:0:
patterns: kid:Character Data:1:<!\\[CDATA\\[:\\]\\]>:1::#a2b300::0:0:
patterns: kid:Comment:0:<!--:-->:1:^top|DocType|Entity$:#AAAAAA::1:2:
patterns: kid:Entity:1:[\\[]:[\\]]:1:^DocType$:#b35300::2:1:
patterns: kid:DocType:1:<!DOCTYPE [a-z0-9]+:>:1::#b35300::0:0:
patterns: 
kid:Attribute:1:([a-z\:\\-]*=)((?\:"[^"]*")|(?\:'[^']*'))::2:^Tag$:#3cb300::1:0:
patterns: kid:Attribute Content:1:2::3:^Attribute$:#ff7600::1:0:
patterns: kid:PyAttribute Content:1:2::3:^PyAttribute$:#ff7600:green:1:0:
patterns: 
kid:PyAttribute:1:py\\\:(for|if|content|replace|strip|attrs|def|match|extends|layout)=((?\:"[^"]*")|(?\:'[^']*'))::2:^Tag$:#3cb300:yellow:1:0:
patterns: kid:Tag Name:1:1::3:^Tag$:#005676::2:0:
patterns: kid:Tag:1:<((/)?[a-z0-9\:-]+):[^?-]?>:1::#0000ee::0:0:
patterns: kid:Format:1:<\\?:\\?>:1:^top$:#000000::2:1:
patterns: kid:Braces:0:[{()}\\[\\]]::2::#000000::2:
patterns: kid:Include:0:^(import |from ).*?$::2::#990099::0:0:
patterns: kid:Special Values:0:\\bNone\\b::2::#999900::0:0:
patterns: kid:String Single Escape:0:\\\\.::2:^string-single$:#009900::0:0:
patterns: kid:String Single:0:':':1::#009900::0:0:
patterns: kid:String Double Escape:0:\\\\.::2:^string-double$:#009900::0:0:
patterns: kid:String Double:0:":":1::#009900::0:0:
patterns: kid:Multi-line Comment:0:''':''':1::#AAAAAA::1:2:
patterns: kid:Comment:0:#.*?$::2::#AAAAAA::1:2:
patterns: kid:Keywords 
Exception:0:\\b((assert|except|finally|try)[^\:]*\:|raise[^\\n]*\\n)::2::#DD0000::2:0:
patterns: 
kid:Keywords:0:\\b(and|break|continue|del|elif|else|exec|for|if|in|is|not|or|pass|print|return|while)\\b::2::#000000::2:0:
patterns: kid:Keywords Self:1:(self\\.?)::2::#000088::0:0:
patterns: kid:Keywords Definition:1:(class|def)[\\t 
]+[a-zA-Z0-9_-]+(\\([^)]+\\))?[\\t ]*\:::2::#0000AA::2:0:
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to