[Geany-Users] How to change the color of one function in perl

Rob Key robkey54321 at xxxxx
Tue Dec 8 09:34:40 UTC 2020


Hi, thanks.
Yes you must be correct.
Keyword_2 does not have any effect in perl, but it does .bas files etc.
Cheers,
Rob


On 08 December 2020 10:36:35 SAST, Lex Trotman <elextr at gmail.com> wrote:
>On Tue, 8 Dec 2020 at 17:27, Robert Key <robkey54321 at gmail.com> wrote:
>>
>> Hi,
>>  I want to set the color of the perl function 'open' to another color
>compared to the other functions.
>>
>> I have tried setting [keywords] in filetypes.perl
>>
>> [keywords]
>> primary=......
>> secondary=open
>
>I believe the perl lexer only supports one keyword list.
>
>Cheers
>Lex
>
>>
>> in the colorscheme file I have
>> [named_styles]
>> keyword_2=#ff00000;;false;false
>>
>> but it does not work
>> Also do keywords_1, keywords_2 etc correspond to the line number
>under [keywords] ? I cannot find this in the documentation.
>> Thanks
>>   Rob
>> _______________________________________________
>> Users mailing list
>> Users at lists.geany.org
>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>_______________________________________________
>Users mailing list
>Users at lists.geany.org
>https://lists.geany.org/cgi-bin/mailman/listinfo/users

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/users/attachments/20201208/ae88e2f6/attachment.htm>


More information about the Users mailing list