Page 1 of 1

Gedit asm syntax highlight

Posted: Sat May 03, 2014 9:25 am
by Luis
Hi,

I thought I could share this with you guys. Probably I'm missing some things because I didn't put much work on it. It's kinda FASM oriented but should be ok'ish for NASM too but more incomplete. Only testing I did so far was to open a random asm file I had and it looked normal to me.

If you feel like something is wrong or missing (no time to spare for advanced stuff) please tell me and I will update it.


Cheers,
Luís

Edit: Uploaded new and improved version made after some testing. This version was made from scratch because the other lang file wasn't allowing me to do what I needed.

Edit2: Added missing binary, octal and pascal hex

Re: Gedit asm syntax highlight

Posted: Sat May 03, 2014 9:48 am
by sortie
Oh cool. I actually use those highlighting styles for gedit, though the AT&T one mainly.

Re: Gedit asm syntax highlight

Posted: Sat May 03, 2014 9:54 am
by Luis
Found an issue with anonymous labels and it's missing highlight for $ and $$. I will add soon.

Re: Gedit asm syntax highlight

Posted: Sat May 03, 2014 2:39 pm
by Luis
Many quirks sorted and hopefully most stuffs highlighted. Colors for some types are the same so please tell me if in any of those cases it should have different colors.