[Geany] Octave and comment character.

Laurent Hoeltgen hoeltgman at xxxxx
Sat Aug 14 09:21:21 UTC 2010


Hi,

I have a question concerning the Octave/Matlab syntax highlighting. The
syntax of Octave and Matlab is mostly the same. However, Octave allows
the symbol # to mark comments, but it isn't highlighted in Geany. I
thought that copying the file 'filetypes.matlab' to
~/.config/geany/filedefs and changing the lines

comment_open=%
comment_close=

to

comment_open=#
comment_close=

would do the trick.  But for some reason it doesn't. It still uses % as
a comment symbol and ignores #.

What am I doing wrong?

Greetings,
Laurent.




More information about the Users mailing list