[Gambas-user] Question about highlight.styles[] list from original eval.highlight class

Brian G brian at westwoodsvcs.com
Sat Dec 23 01:15:37 CET 2023


On 12/21/23 03:14, Benoît Minisini wrote:
> Le 13/12/2023 à 00:50, brian a écrit :
>> That would be great
>>
>> ~~~~~ Brian
>
> In the last commits, I added the 'TextHighlighterTheme.Styles' that 
> returns the list of all styles associated with a specific theme.
>
> I replaced "color" by "state" in the name of the API properties and 
> methods of 'gb.highlight' too, as "state" is the accurate name, not 
> "color".
>
> I added a 'TextHighlighterTheme.AllStates' static property too, that 
> returns the list of all states registered by all highlighters.
>
> Regards,
>
Thanks Ben!
-- 
~~~~ Brian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x78BFB26402F48419.asc
Type: application/pgp-keys
Size: 2428 bytes
Desc: OpenPGP public key
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231222/e1a24d58/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231222/e1a24d58/attachment.sig>


More information about the User mailing list