www.retrosoftware.co.uk
http://www.retrosoftware.co.uk/forum/

KDE KWrite/KATE highlighting file
http://www.retrosoftware.co.uk/forum/viewtopic.php?f=17&t=815
Page 1 of 1

Author:  DaveJ [ Tue Feb 12, 2013 11:45 am ]
Post subject:  KDE KWrite/KATE highlighting file

This is a very quick and dirty KDE KWrite/KATE highlighing file for BeebASM. I can do a much better job of this later - I should parse the commands more intelligently so I can pick up things like the A in LSR A. As it is I'm not changing context at all, which is massively lazy.

To inflict it on everyone put it in:
/usr/share/kde4/apps/katepart/syntax/

To keep it to yourself put it in (you'll probably have to create this folder)
~/.kde/share/apps/katepart/syntax/
Attachment:
File comment: KDE KWrite/KATE highlighting file for BeebASM
bbc-asm6502.xml.zip [1.56 KiB]
Downloaded 2 times

You'll have to go to Tools->Highlighting->Assembler and select BeebASM 6502 in Kate as there is already a standard 6502 highlighting file that does curious things such as using $ for hexadecimal numbers.

EDIT: To choose BeebASM6502 highlighting in KWrite you need to go to Settings -> Configure Editor -> Enable power user mode and follow the instructios for KATE.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/