syn problem
Posted: Thu Aug 10, 2006 8:37 am
I think my problem comes from the fact I have the symbol being used as a comment AND as an operator, I copy the beginning of my .syn for sake of clarity :
this said, a line like
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) { is displayed like this :
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) {
whereas it should be displayed like this :
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) {
can someone help on this please ?
Code: Select all
|Code: Select all
C=1
[Syntax]
Namespace1=5
IgnoreCase=Yes
KeyWordLength=
BracketChars={[()]}
OperatorChars=-+*<>!~%^&|=
PreprocStart=#
SyntaxStart=
SyntaxEnd=
HexPrefix=
CommentStart=|**
CommentEnd=**|
CommentStartAlt=
CommentEndAlt=
SingleComment=|/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) { is displayed like this :
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) {
whereas it should be displayed like this :
/if (!${Target.ID} || ${Target.Type.NotEqual[NPC]} || ${Target.State.Equal[DEAD]}) {
can someone help on this please ?