I started messing around with jEdit to see how it well it would work for coding an Atari game. I've begun writing the syntax highlighting rules(the attached xml file) that currently highlight as shown in the screen capture.
To use the syntax highlighting, put the assembly-6502.xml file in the MODES directory of jEdit. Then edit the catalog file in the same directory and add the following.
<MODE NAME="assembly-6502" FILE="assembly-6502.xml" FILE_NAME_GLOB="*.asm">
I had to disable the assembly-x86 as it also uses *.asm for the file extension. I disabled it by changing its entry as follows(removed the *)
<MODE NAME="assembly-x86" FILE="assembly-x86.xml" FILE_NAME_GLOB=".asm" />
There's a FIRST_LINE_GLOB mode selector that I think should be able to pick up on the PROCESSOR 6502 line(provided it's the first line in the file), but I haven't gotten that working yet.
<PREVIOUS> <INDEX> <NEXT>