Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Possible style overwrite?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
zetah  
View profile   Translate to Translated (View Original)
 More options Jul 10 2012, 9:41 pm
From: zetah <klo...@gmail.com>
Date: Tue, 10 Jul 2012 18:41:36 -0700 (PDT)
Local: Tues, Jul 10 2012 9:41 pm
Subject: Re: [scite] Possible style overwrite?

On Wednesday, July 11, 2012 1:28:48 AM UTC+2, Neil Hodgson wrote:

> > So I first had a look at various properties files to distill global
> scheme for "style.*.#" and was surprised that there is no such thing.
> Various properties use same style number for different definitions.

>    Each lexer is different, providing whichever styles are sensible for
> that language.

That was sad fact to see. All languages share basic lexer types (keyword,
number, string, operator, comments...), which could have been defined with
first 15-20 style numbers. That would make task of overwriting styles
simple as appending new style to each properties file, even if there is not
global overwrite property. I imagine that not only styles could have
benefit from such scheme

"Grepping" properties files reveals that 3/4 are with less then 20 styles
and 90% with less then 30, rest are special cases it seems.

> Lastly is there global setting which can overwrite styles defined in
> various properties files, with the one I set in my user properties file?

>    You can define each specific style in your user properties.

But it will be overwritten from the styles defined in properties files. It
seems that it's reasonably impossible to use custom style with scite, that
would cover all lexers.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.