Re: Independent styles
"'Neil Hodgson' via scite-interest" <[email protected]> Mon, 23 Dec 2024 08:44:50 +1100
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Baltasar Garc=C3=ADa Perez-Schofield: > I've been trying to create a "dark mode" for SCiTE. > ... > Unfortunately, I finally gave up. The problem is that you have to modify = nearly all the language configurations, including those to come. >=20 > For instance, Julia includes what appears to be a set of styles: > ... > There should be a way to define a set of limited styles, that all the oth= ers could refer to. For instance, it seems that styles 1, 2, 3, 4... are mo= re or less standard for all languages, I wonder if you could do something l= ike: There are conflicting desires here. In one direction, some people want t= o control styling generically but another (sometimes overlapping) group of = people want to have each nuance of the language differentiated. Languages may, for example, offer a plethora of differing quoted string = literal types. Some interpret escapes and others don't; some allow interpol= ation; some are for regular expressions; some are for a single character; s= ome allow different character sets; some are for embeds inside another cons= truct. Perl has around 25 different quoted literal styles recognized by Lex= illa. Applying one string style over all of these (or a short subset) remov= es information that can be wanted and useful. If the short list of global styles is only applied to the most directly = equivalent styles then the original concern of having to change each langua= ge properties file remains and is not significantly eased. Each language has areas of application and these areas influence what is= regarded as important enough to have specific syntax. They shouldn't be tr= eated as just variants of some familiar base language. Neil --=20 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 e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/scite-inter= est/CBC17662-B53A-43DD-A51C-3B0B641FA09A%40me.com.