[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TextEditor highlighter, setting color
[Thread Prev] | [Thread Next]
- Subject: Re: TextEditor highlighter, setting color
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 22 Dec 2025 16:57:18 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 21/12/2025 à 01:00, Bruce Steers a écrit :
I seem to not be able to set TextEditor colors using the Theme[Key].Color property?Public Sub ColorChooser1_Change() If cmboStates.Text = "Background" Then TextEditor1.Background = ColorChooser1.Value Else TextEditor1.Theme[cmboStates.Text].Color = ColorChooser1.Value Endif TextEditor1.Refresh Endattached is a simple application that "should" allow changing the highlight modes colors.it seems "reading" TextEditor1.Theme[cmboStates.Text].Color works as the colors show on the ColorChooser when you select a State but writing the property does not seem to do anything on the gambas highlighting?Or am i missing a trick? Respects BruceS
The bug should be fixed in the last commit. Regards, -- Benoît Minisini.
| Re: TextEditor highlighter, setting color | Bruce Steers <bsteers4@xxxxxxxxx> |
| TextEditor highlighter, setting color | Bruce Steers <bsteers4@xxxxxxxxx> |