flat assembler
Message board for the users of flat assembler.
  
|  Index
      > IDE Development > Syntax highlighting for Kate text editor | 
| Author | 
 | 
| rCX 10 Jun 2009, 22:39 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. 
 Last edited by rCX on 10 Jun 2009, 22:46; edited 1 time in total | |||||||||||
|  10 Jun 2009, 22:39 | 
 | 
| bitRAKE 16 Jun 2009, 05:02 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. | |||
|  16 Jun 2009, 05:02 | 
 | 
| bitRAKE 17 Apr 2021, 11:22 https://kate-editor.org/
 + Distinguishes between instruction AND and operation AND, etc. + Control-flow high-lighting. - Code folding doesn't work. - Number format doesn't handle fasm's fancy stuff. One of the best out-of-box experiences with fasm/fasmg I've seen in an editor. The high-lighting seems to have been done by someone that knows something about assembler. It's a huge download, but it does a lot. I see a lot of potential. If I spend more time with it, might get code folding working. Current documentation on highlighting syntax: https://docs.kde.org/trunk5/en/kate/katepart/highlight.html Example: https://kate-editor.org/syntax/data/html/highlight.asm-fasm.dark.html Edit: found previous thread, so merged post to original. _________________ ¯\(°_o)/¯ AI may [not] have aided with the above reply. | |||
|  17 Apr 2021, 11:22 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.