Re: dark theme

andrew strain <[email protected]> Wed, 3 May 2023 15:44:34 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
I am trying to work out a patch for the dark mode feature but am stuck on 
correctly scoping
a kind of global variable named `bool invertBrightness` so that it can be 
set when properties are in

On Wednesday, 3 May 2023 at 22:30:50 UTC+1 Red M wrote:

> you depend on the lexer in order to set colors for keywords, identifiers, 
>> numbers...
>>
> Yes because SciTE isn't a lexer and to remove lexillia would be silly 
> because then you'd have no lexers at all and so now you have no 
> highlighting. 
>
> This way, it would be possible to create different "style" files, light, 
>> dark, QBasic editor...
>>
> I already have done exactly that with the way SciTE already is using Lua 
> scripts.
>
> On Wed, May 3, 2023 at 8:21 PM Baltasar García Perez-Schofield <
> [email protected]> wrote:
>
>> Hi,
>>
>>
>> Personally, I find the way SciTE configures its colors too complex. I 
>> mean, you depend on the lexer in order to set colors for keywords, 
>> identifiers, numbers... At the top level, I guess SciTE knows nearly 
>> nothing about symbols, i.e., the mentioned keywords and identifiers. This 
>> is maybe due to the fact that maybe, for instance, the language ScITE is 
>> editing does not have keywords.
>>
>> I think that these concepts should be moved to the top level, so ScITE 
>> would know about keywords, identifiers and so on, and then the lexers would 
>> not have anything to do with colors, only maybe with specific symbols that 
>> are not dealt with by the top level.
>>
>> This way, it would be possible to create different "style" files, light, 
>> dark, QBasic editor...
>>
>> --
>> Baltasar
>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "scite-interest" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/scite-interest/731140ee-7b13-d1c0-d1b2-f885a6559a79%40gmail.com 
>> <https://groups.google.com/d/msgid/scite-interest/731140ee-7b13-d1c0-d1b2-f885a6559a79%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/fededc34-2cfa-417c-b1ef-48350ad9de9bn%40googlegroups.com.