[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextHighlighterTheme["Background"] error


On Fri, 11 Apr 2025 at 16:28, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> 1. My script editor has always had customizable themes. it could set
> different color themes including background for all/any filetype/mode.
>  I like it as i have different background shades for sh/gambas/html/etc.
>  It did this long before gb.higlight by changing the current Styles
> ad-hoc. Then I had to re-code things when gb.eval.highlight got dropped for
> gb.highlight.
> now i have to work out a new way to set the background.
> I just tried using TextEditor.Background and it didn't work, only the
> right scroll got colored, not the doc
>

okay , simmering down.  I've got it working again now with the new Adapt
function.

I put a warning on the wiki..
WARNING!!

TextEditor is primarily the gambas IDE text editor and is subject to
changes at any time without warning.
Particularly when it comes to Highlighting (gb.highlight)

I have had to re-code my own program that uses TextEditor 3 times due to
fundamental changes in how highlighting works.

BruceS

Follow-Ups:
Re: TextHighlighterTheme["Background"] errorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
TextHighlighterTheme["Background"] errorBruce Steers <bsteers4@xxxxxxxxx>
Re: TextHighlighterTheme["Background"] errorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TextHighlighterTheme["Background"] errorBruce Steers <bsteers4@xxxxxxxxx>
Re: TextHighlighterTheme["Background"] errorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TextHighlighterTheme["Background"] errorBruce Steers <bsteers4@xxxxxxxxx>