[Geany-Users] Any way to make geany recognize modelines for syntax coloring?

Lex Trotman elextr at xxxxx
Wed Jan 13 00:35:23 UTC 2016


On 13 January 2016 at 10:12, Matthew Brush <mbrush at codebrainz.ca> wrote:
> On 2016-01-12 11:32 AM, Karma Kolabor wrote:
>>
>> Ah, hmm, would you please like to make this case  insensitive?
>> You know, it would be really nice if it just worked out of the box...
>> modelines are such a common thing...
>> I do not know how to change case with a regex, maybe there is some way
>> to do that?
>
>
> According to the docs for the regexp we use it can be done, see here:
>
> https://developer.gnome.org/glib/stable/glib-regex-syntax.html#id-1.5.25.11
>
> I have not tried myself so cannot provide further insight.

The regex has nothing to do with it, it only *extracts* the filetype
from the pattern, it does not compare it to the list of filetype
names, so case insensitivity in the regex is irrelevant.

>
> Cheers,
> Matthew Brush
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list