flat assembler
Message board for the users of flat assembler.

flat assembler > Linux > gedit/gtksourceview lang-spec file

Author
Thread Post new topic Reply to topic
Chewy509



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
For those that use gedit or any other GTKSourceView based text editor, please find attached the language spec file for x86/x64 asm.

Simply copy to the /usr/share/gtksourceview-2.0/language-specs folder on your system and restart your editor. You should now have syntax highlighting for asm.

For more recent versions of gedit (eg v2.20) which use custom style templates, included is a style def based on the Oblivion style.

PS. The directory is normally in /usr/share, /usr/local/share, /user/gnome/share or /usr/X11R6/gnome/share

PPS. if you have gtksourceview-1.0 and not gtksourceview-2.0, copy it there instead with all the other *.lang files.


Description:
Download
Filename: assembly.zip
Filesize: 3.29 KB
Downloaded: 216 Time(s)

Post 25 Mar 2008, 05:18
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1174
Location: Unknown
I made a color scheme and a language syntax file for FASM.

To install the language file, you can try running the 'install.sh' script. It may work for most Linux distributions.

To install the color scheme file - and you must install it to see any highlight - just go to your editor (pluma, gedit, etc...) and add it from there.

Image

The color scheme files are those with 'xml' extension.


Additional information:

To change syntax rules just edit the 'fasm.lang' file.

To change colors edit the XML files named 'samarha(_white).xml'.


Here are some pictures:

Black scheme:

Image

White scheme:

Image


File is attached to this post.


Description: sha256sum: 31bd8d28bce2f09e2040e7cfc517d89195753f1bd4c5b9e6aa165c687ba4d20b
Download
Filename: fasm_highlight.tar.bz2
Filesize: 6.67 KB
Downloaded: 5 Time(s)

Post 06 Dec 2018, 12:42
View user's profile Send private message 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-2018, Tomasz Grysztar.

Powered by rwasa.