New JEdit Syntax Highlighter for TIDE
by Cameron Aycock · in Torque Game Engine · 06/23/2004 (1:16 pm) · 0 replies
I have mde some changes to the default cs.xml file used for highlighting. They are in the file Alternate_cs.xml. Rename this file to cs.xml and follow the normal installation instructions if you wish to use it. (or just overwrite your existing cs.xml file if already installed).
I mainly included more operators, and made keyword changes to distinguish between keywords, local vars, and global vars.
COMMENT1:
Line Comments ( // )
OPERATOR:
=
+
-
*
/
++
--
+=
-=
*=
/=
%=
@
(
)
[
]
{
}
SPC
TAB
NL
~
|
&
^
<<
>>
|=
&=
^=
<<=
>>=
!
&&
||
==
!=
<
>
<=
>=
$=
!$=
;
.
,
?
:
KEYWORD1:
break
case
continue
datablock
default
do
else
for
function
if
new
package
return
switch
while
KEYWORD2:
Global vars ( $var )
KEYWORD3:
Local vars ( %var )
LITERAL1:
all strings in double or single quotes ( "" or '' )
LITERAL2:
TRUE
FALSE
NULL
The alternate_cs.xml file can be found here:
sourceforge.net/project/showfiles.php?group_id=97831
I mainly included more operators, and made keyword changes to distinguish between keywords, local vars, and global vars.
COMMENT1:
Line Comments ( // )
OPERATOR:
=
+
-
*
/
++
--
+=
-=
*=
/=
%=
@
(
)
[
]
{
}
SPC
TAB
NL
~
|
&
^
<<
>>
|=
&=
^=
<<=
>>=
!
&&
||
==
!=
<
>
<=
>=
$=
!$=
;
.
,
?
:
KEYWORD1:
break
case
continue
datablock
default
do
else
for
function
if
new
package
return
switch
while
KEYWORD2:
Global vars ( $var )
KEYWORD3:
Local vars ( %var )
LITERAL1:
all strings in double or single quotes ( "" or '' )
LITERAL2:
TRUE
FALSE
NULL
The alternate_cs.xml file can be found here:
sourceforge.net/project/showfiles.php?group_id=97831