flat assembler
Message board for the users of flat assembler.

flat assembler > IDE Development > Syntax highlighting for Kate text editor

Author
Thread Post new topic Reply to topic
rCX



Joined: 29 Jul 2007
Posts: 166
Location: Maryland, USA
Attached is a syntax highlighting file for KDE's Kate text editor. To install copy "fasm.xml" to your "~/.kde/share/apps/katepart/syntax/" directory. (On my computer the directory is actually in "/usr/share/kde4/apps/katepart/syntax" ).

I want to eventually submit it to the project so any feedback is welcome.


Description:
Download
Filename: fasm highlighting for kate.tar.gz
Filesize: 4.25 KB
Downloaded: 215 Time(s)



Last edited by rCX on 10 Jun 2009, 22:46; edited 1 time in total
Post 10 Jun 2009, 22:39
View user's profile Send private message Reply with quote
rCX



Joined: 29 Jul 2007
Posts: 166
Location: Maryland, USA
Some examples...


Description:
Filesize: 81.31 KB
Viewed: 1449 Time(s)

4.png


Description:
Filesize: 84.76 KB
Viewed: 1449 Time(s)

2.png


Description:
Filesize: 78.55 KB
Viewed: 1449 Time(s)

1.png


Post 10 Jun 2009, 22:44
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2795
Location: dank orb
I believe it is helpful to distinguish between preprocessor keywords (macro, equ, rept, ...) and assembler keywords (if, repeat, ...). In the last picture I noticed the segment registers are not highlighted similar to other registers?

In the past, I color coded instructions for different purposes: minimum processor requirement, flags effected, pipeline, ... Of course, some of these had very limited use, but made some tasks easier imho.There are many tweaks which work with a person's coding style. Like making label which start at the beginning of a line bold (excluding local labels). Or, using different highlighting for strings which are single quoted verses double quoted.

Kate looks very pretty.
Post 16 Jun 2009, 05:02
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.