On Monday 07 April 2008 02:03 pm, Tony Balinski wrote:
> Quoting Randy Kramer <[EMAIL PROTECTED]>:
> > > > /* If you use both 32-Bit Style mask layout:
> > > >    Bits
> > > > +----------------+----------------+----------------+----------------+
> > > > |1F1E1D1C1B1A1918|1716151413121110| F E D C B A 9 8| 7 6 5 4 3 2 1 0|
> > > > |3130292827262524|2322212019181716|151413121110 9 8| 7 6 5 4 3 2 1 0|
> > > > +----------------+----------------+----------------+----------------+
> > > > |             r r| r r r r b b b b| b b b b H 1 2 F| s s s s s s s s|
> > > > +----------------+----------------+----------------+----------------+
> > >
> ...
> >
> > I thought the 8 bits marked s in your diagram above, which come from "the
> > style buffer entry of a position" would be related somehow to the  class
> > string s mentioned at the top part of this email?
> 
> No. The s above refers to the variable in the function where the
> backlighting comment occurs. The backlighting value is encoded as the
> sequence of b bits in the style value. Backlighting has (almost) nothing
> to do with syntax highlighting. I added it to look at binary output from
> programs using a character based protocol, to make control characters
> stand out. It also allowed the coloring of simple (single character
> encoded) xpm "pixmap" files, and writing it led the way to the rangesets
> extension. The whole point was to be able to avoid having to set up
> syntax highlighting!

So, I'm still confused.  So what are the possible values of: 

"s - style lookup value (8 bits)"

... in 

> > > > /* If you use both 32-Bit Style mask layout:
> > > >    Bits
> > > > +----------------+----------------+----------------+----------------+
> > > > |1F1E1D1C1B1A1918|1716151413121110| F E D C B A 9 8| 7 6 5 4 3 2 1 0|
> > > > |3130292827262524|2322212019181716|151413121110 9 8| 7 6 5 4 3 2 1 0|
> > > > +----------------+----------------+----------------+----------------+
> > > > |             r r| r r r r b b b b| b b b b H 1 2 F| s s s s s s s s|
> > > > +----------------+----------------+----------------+----------------+

And in what file or subroutine are they set and/or documented?

Sorry if I'm missing the obvious!

Randy Kramer




-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to