1 May 2005 02:45
Re: Trouble with indicators
Jan Martin Pettersen <janmart <at> gamebox.net>
2005-05-01 00:45:30 GMT
2005-05-01 00:45:30 GMT
On 29 Apr 2005 at 20:30, Robert Roessler wrote: > Jan Martin Pettersen wrote: > > > On 28 Apr 2005 at 12:52, Robert Roessler wrote: > > ... > > An example: > > > > SCI_STARTSTYLING(0,INDICS_MASK) > > SCI_SETSTYLING(20,INDIC0_MASK) > > SCI_STARTSTYLING(oldstylepos,oldstylemask) > > > > This would set the indicator 0 for the 20 next characters, > > and if indicator 1 or 2 also was defined in those chars, then those > > indicators would be removed for that length. > > i.e the last indicator set for a length would be the ONLY indicator. > > > > IBut if you use the INDIC0_MASK for the SCI_STARTSTYLING, THEN > > you would just modify that indicator, and not the rest if any. > > > > I had a little trouble with it myself, but found a solution, and it works.. > > Thanks for the help - none of my trouble was in setting the indicators > OR clearing them... it was ALL about how the "indicators" feature > plays with a lexer already handling the buffer! :) :) All bits NOT used by the lexer (you'll see which it uses by the masks used in Accessor::StartAt or StyleContext constructor calls inside the lexers) are available for indicators, and isn't seen nor touched by them.. (starting with version 1.63, or was it 1.62).(Continue reading)
> I wonder if GTK+ has evolved much these last years. I used to use, two
> or three years ago, Ethereal which is pure GTK+ running on Windows, and
> I wasn't overly pleased by its look-and-feel. More by the slightly
RSS Feed