On 27 June 2012 16:51, SHANGRI-LA@terra.es SHANGRI-LA@terra.es wrote:
Hi,
This is my first post in the list and, as usual, i come with a problem ;)
I'm trying to configure the syntax highlighting for asm language with Geany but have experienced some strange issues.
- The more important is that i'm not able to configure the highlighting for
comments. I'm trying to use the standard C comments (// for a line and /* */ for a block) using the keywords:
comment_single=// comment_open=/* comment_close=*/
and then configuring a color in [styling] section but Geany always seems to ignore me and only accept the standard asm comment ';' symbol (that in my case i need a different one) although this symbol is not present at all in the file filetypes.asm.
Hi,
The recognition of syntax for highlighting is provided by the Scintilla lexers. These mostly hard-code the language they recognise. That is teh case with teh ASM lexer comment which is hard coded to semi-colon.
The comment settings are for use by the edit->format->comment/uncomment operations not for the lexers.
Cheers Lex
The file i'm modifying is filetypes.asm and my version of geany is Geany Portable 0.20 i'm also using Windows XP SP3. Any idea?
Thanks in advance.
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany