Re: [code][textadept] selection background color change

From: Mitchell <m.att.foicica.com>
Date: Wed, 5 Jul 2017 20:08:44 -0400 (EDT)

Hi,

On Wed, 5 Jul 2017, Mitchell wrote:

> Hi Peter,
>
> On Wed, 5 Jul 2017, Peter Rolf wrote:
>
>> Hi,
>>
>> I have a problem with the background color of selections. If I open a
>> search dialogue via Ctrl-f, type in something, and also select the
>> search string, the background color of the text selection changes.
>> The selected text gets unreadable here with my theme (color changes from
>> #303844 to #B0B0B0).
>>
>> Here are the simple steps to reproduce this behaviour..
>>
>> 1. select some text block
>> 2. open the search dialogue via Ctrl-f and type in something
>> 3. now also select the search pattern;
>> keep an eye on the selected 'main' text while doing so and you will
>> notice that the background color of the selected text (1) changes
>>
>>
>> Couldn't find the corresponding style (nor the color) for that. I also
>> tried 'additional_selection', but no luck.
>
> Unfortunately, according to Scintilla's source code, this looks like a
> non-changeable style, hardcoded at 0xb0b0b0. Sorry :( I recommend you raise
> this issue on the Scintilla mailing list[1]. I could apply an upstream patch
> to Textadept.

Oh, and for the record the style is "selBackground2".

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 05 Jul 2017 - 20:08:44 EDT

This archive was generated by hypermail 2.2.0 : Thu 06 Jul 2017 - 06:45:44 EDT