EDC: Add some new keywords and LazEDC support
Whitespace changes included, use git show -w
This commit is contained in:
parent
1411726910
commit
2e78e1dca9
|
@ -21,6 +21,9 @@ syn keyword edcBlock color_classes color_class rel1 rel2 contained
|
|||
syn keyword edcBlock items item file params externals contained
|
||||
syn keyword edcBlock map rotation perspective script lua_script contained
|
||||
syn keyword edcBlock set
|
||||
syn keyword edcBlock sequence link contained
|
||||
" LazEDC blocks
|
||||
syn keyword edcBlock desc rect swallow textblock box table external spacer contained
|
||||
|
||||
syn keyword edcLabel item name alias min max type effect contained
|
||||
syn keyword edcLabel mouse_events repeat_events clip_to contained
|
||||
|
@ -46,6 +49,13 @@ syn keyword edcLabel on perspective light perspective_on contained
|
|||
syn keyword edcLabel backface_cull alpha center focus zplane focal contained
|
||||
syn keyword edcLabel int double string external script_only contained
|
||||
syn keyword edcLabel insert_before insert_after contained
|
||||
syn keyword edcLabel script_recursion contained
|
||||
syn keyword edcLabel limit broadcast_signal targets target_group groups size_range contained
|
||||
" LazEDC synonyms
|
||||
syn keyword edcLabel before after ignore pointer alt_font clip contained
|
||||
|
||||
" LazEDC shorthand
|
||||
syn keyword edcLazShort broadcast nobroadcast mouse nomouse repeat norepeat precise noprecise noscale vis hid contained
|
||||
|
||||
syn keyword edcConstant COMP RAW LOSSY NONE ON_HOLD AUTOGRAB NOGRAB
|
||||
syn keyword edcConstant TEXT IMAGE RECT TEXTBLOCK SWALLOW GRADIENT GROUP
|
||||
|
@ -65,10 +75,12 @@ syn keyword edcConstant VERTICAL HORIZONTAL BOTH BOX TABLE
|
|||
syn keyword edcConstant EDITABLE PASSWORD "default"
|
||||
syn keyword edcConstant DEFAULT EXPLICIT
|
||||
syn keyword edcConstant SOLID
|
||||
syn keyword edcConstant WIDTH HEIGHT
|
||||
|
||||
syn keyword edcTodo contained TODO FIXME XXX
|
||||
|
||||
syn match edcLabelMatch "\w\+:" contains=edcLabel
|
||||
syn match edcLazSMatch "\w\+;" contains=edcLazShort
|
||||
syn match edcBlockMatch "\w\+\_s*{" contains=edcBlock
|
||||
syn match edcBlockMatch "\w\+\.\a"me=e-2 contains=edcBlock
|
||||
" edcCommentGroup allows adding matches for special things in comments
|
||||
|
@ -200,6 +212,7 @@ if version >= 508 || !exists("did_edc_syn_inits")
|
|||
HiLink edcCommentL edcComment
|
||||
HiLink edcCommentStart edcComment
|
||||
HiLink edcLabel Label
|
||||
HiLink edcLazShort Label
|
||||
HiLink edcUserLabel Label
|
||||
HiLink edcConditional Conditional
|
||||
HiLink edcRepeat Repeat
|
||||
|
|
Loading…
Reference in New Issue