[Gambas-user] New internal highlighting design

Ian Roper ian.roper at iinet.net.au
Fri Nov 5 20:34:59 CET 2021


Please find attached the Gambas Black theme.


Cheers,

Ian.


On 6/11/21 3:10 am, Benoît Minisini wrote:
> Hi,
>
> In the last commit, I have redesigned how highlighting works, so that 
> it's possible to have more highlighting styles, that can be shared by 
> the highlighters, or specific to some.
>
> And so that the code is better too. A theme is now defined by a 
> TextHighlighterTheme, whose styles are accessed by names.
>
> You should never see the internal integer constants, except if you 
> implement a new highlighter directly in the 'gb.eval.highlight' 
> component.
>
> Tell me if you have any problem with that.
>
> The current pre-defined IDE themes were left mostly untouched, and 
> most of the new styles have their default values whatever the theme.
>
> By the way, if you have defined your specific highlighting colors, and 
> if you think it could be a new editor theme, don't hesitate to send it 
> me.
>
> Regards,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas_black.gambas.theme.zip
Type: application/zip
Size: 476 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211106/33174ccc/attachment.zip>


More information about the User mailing list