[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TextHighlighterTheme["Background"] error
[Thread Prev] | [Thread Next]
- Subject: Re: TextHighlighterTheme["Background"] error
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Fri, 11 Apr 2025 13:07:59 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Fri, 11 Apr 2025 at 12:20, Benoît Minisini < benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > Le 11/04/2025 à 12:40, Bruce Steers a écrit : > > My script editor is now throwing lots of errors. > > It seems everywhere i have used $hTheme["Background"].Color > > > > has the Background theme style been removed? > > > > BruceS > > Yes, it's work in progress, but since the last commit it's now (almost) > finished. > > Now a theme has no background anymore, but a method 'Adapt()' that let > the theme adapt to any background you specify. > > This method is internally used by the TextEditor control. > > So put any background in your text editor, put any theme, and it should > work magically. > > Regards, > > -- > Benoît Minisini. can you add an "Adapt" method to the ide that makes all my now broken code work magically? :-\ Or more realistically put the hTheme["Background"].Color back in but make it point to this new magic method so we can still use our previously written code? I have used hTheme["Background"].Color in a fair few programs. BruceS
Re: TextHighlighterTheme["Background"] error | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
TextHighlighterTheme["Background"] error | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: TextHighlighterTheme["Background"] error | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |