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

Re: TextEditor highlighter, setting color


> On Mon, 22 Dec 2025 at 16:27, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
>
>>
>>
>>> Actually it was two different bugs. With the last commit, it should work!
>>>
>>> --
>>> Benoît Minisini.
>>
>>
>> Brilliant, thank you Benoit :) all working as expected now :)
>>
>> Respects
>> BruceS
>>
>
> Somehow now everything is working except when setting
> TextEditor1.Background
> It works okay with QT but GTK3 is not so pretty.
>

seems GTK inverts the Foreground to make it visible but the background does
not change.
In both snapshots in the last post i set the Background to black.
With QT only the parts of the editor that actually contain lines changed to
black, not the rest of the controls background. (that seems odd)

Respects
BruceS

References:
TextEditor highlighter, setting colorBruce Steers <bsteers4@xxxxxxxxx>
Re: TextEditor highlighter, setting colorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TextEditor highlighter, setting colorBruce Steers <bsteers4@xxxxxxxxx>
Re: TextEditor highlighter, setting colorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TextEditor highlighter, setting colorBruce Steers <bsteers4@xxxxxxxxx>
Re: TextEditor highlighter, setting colorBruce Steers <bsteers4@xxxxxxxxx>