[Geany] problem with systax highlighting

Nick Treleaven nick.treleaven at xxxxx
Tue Jun 26 12:24:21 UTC 2012


On 26/06/2012 13:16, owlet bw wrote:
> In *filetypes.common* (that I copied from /usr/share/geany to my home
> config folder) I defined color for strings like that
>
> *string=0x000000;0xffc0c0*
>
> This is black font on pink background. Well, I like not to highlight the
> font itself but rather background of specific tokens. *
> *
>
> So, the result (in PHP) is like this
>
>       http://www.imageup.ru/img239/978348/scrot.gif
>
> BUT, at the same time all the white space of other types of files
> BECOMES PINK
>
>
> For example, the file *filetypes.common* itself** is like this
>
>       http://www.imageup.ru/img239/978354/scrot2.gif*

This is the expected behaviour. You are editing the 'string' named style 
which is used for all filetypes. Instead you should just override a 
style in filetypes.php.





More information about the Users mailing list