Hello,
two questions:
1) My software uses ; and ! and # as comment letters. Is it possible to define three letters for "single comment"?
2) How to define = and & as keywords? My definition runs with +, -, / ....., but not with = and &. Why???
[Keywords 4]
; Operators and Expressions
&&
*
+
-
/
<
<=
<>
==
>
>=
?
\
AND
EQ
GE
Peter
Syntax-highlight for = and comments
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Berend
Re: Syntax-highlight for = and comments
1. You can only have two (single line) comment characters:
SingleComment = ;
SingleCommentAlt = !
2. Maybe you have defined = and & elsewhere, i.e. as OperatorChars?
Berend
SingleComment = ;
SingleCommentAlt = !
2. Maybe you have defined = and & elsewhere, i.e. as OperatorChars?
Berend
-
Peter
Re: Syntax-highlight for = and comments
Berend,
1) Thanks, I changed it.
2) I found the problem:
It is not allowed to make "double definitions"; it's not good to define &&, because it's enough to define &; the same is for == (is twice =), >= and so on. In my snytax-file the double definitions (&&) overwrite the single definitions (&).
Peter
1) Thanks, I changed it.
2) I found the problem:
It is not allowed to make "double definitions"; it's not good to define &&, because it's enough to define &; the same is for == (is twice =), >= and so on. In my snytax-file the double definitions (&&) overwrite the single definitions (&).
Peter