Please remember that Syntax Highlight is in Beta Test. Following description will be changed without notice.
01/08/2012 Updated about filename.
The definition files are comprised of the following files.
colorsettings.conf
<ext>.conf
These are stored in the following location. When Jota is updated, this folder will be clear and overwritten by new difinition files.
/sdcard/.jota/keyword/
If you're going to customize difinition file, you should store your file in the following location to prevent overwrite your file.The files in this folder won't be removed.
/sdcard/.jota/keyword/user/
The Color Setting file is initilized below text. see) colorsetting.conf
comment=008000
weakcomment=008000
linecomment=008000
type=ff00ff
constant=800000
statement=2a00ff
green=008000
blue=2a00ff
red=800000
yellow=808000
magenta=ff00ff
<colorcode>=RRGGBB(hex)
You can define new color code in this file.
Syntax definition file is like below text. see) java.conf
author=Aquamarine Networks.
version=0.01
comment=/\*.*\*/
weakcomment=^.*\*/|/\*.*$
linecomment=//[^\n]*\n
type=@[A-Za-z0-9_\.]*|\b(void|boolean|byte|short|short|int|long|float|double|char|new)\b
constant=\b(true|false|null)\b
statement=\b(public|protected|private|final|static|break|case|~~~~~~~~~per|this|throws|transient|volatile)\b
green=
blue=
red=
yellow=
magenta=
<colorcode>=Regular Expression
The filename is defined as <ext>.conf
It is alloed as <ext1>.<ext2>.<ext3>.conf
ex)
Java (foo.java) ===> java.conf
C (foo.c) ===> c.cpp.conf
CPP (foo.cpp) ===> c.cpp.conf
Text file (foo.txt)===> txt.conf
You may use your definition file only for you.
But I hope you to share it with all of Jota users.
If you decided to share with us, then do below steps.
1. Write your name or nick name into "author" section.
2. Agree that the file is in the Public Domain.
3. Send the file for me (pandora@aquamarine.sakura.ne.jp)
Here is additional keyword files.
If you need something, download them and put it on /sdcard/.jota/keyword/user/ .
keyword file for ABB industrial robots (IRC5 controller). by Marcio Massula Jr.