]> git.xonotic.org Git - xonotic/gmqcc.git/blob - syntax/jedit/README
Add jedit syntax highlighting support, thanks to LordHavoc (made some changes to...
[xonotic/gmqcc.git] / syntax / jedit / README
1 To use the jedit syntax highlighting install qc.xml to the syntax
2 directory for jedit
3
4 # For Windows Users that directory is
5 C:\Users\username\.jedit\modes
6
7 # For Linux users that directory is
8 /home/username/.jedit/modes
9
10 # For Mac users that directory is
11 /Users/username/Library/jEdit/modes
12
13 After the file is installed, a mode line needs to be added to
14 a file caled catalog in that same directory.
15
16 Add the following line:
17 <MODE NAME="QuakeC Code" FILE="qc.xml" FILE_NAME_GLOB="*.qc" />
18
19 inside the <MODES> block before the end tag </MODES>. If the file
20 does not exist, you can simply make one and use the following:
21
22 <?xml version="1.0"?>
23 <!DOCTYPE MODES SYSTEM "catalog.dtd">
24 <MODES>
25     <MODE NAME="QuakeC Code" FILE="qc.xml" FILE_NAME_GLOB="*.qc" />
26 </MODES>