Re: Colorizing braces using indicators
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
I use IndicatorFill() in my lexer written in c++. It's part of the LexAccessor class. You can find an example usage in LexPython.cxx. On Tuesday, March 26, 2024 at 3:44:20 PM UTC-5 [email protected] wrote: > On Tuesday, March 26, 2024 at 7:51:41 PM UTC [email protected] wrote: > > Well it was my first thought too when I was first having problems. I also > tried resetting the indicator with: > > styler.IndicatorFill(i, i+1, indicator, indicator); > styler.IndicatorFill(i+1, i+1, 0, 0); > > but that didn't help. > > > Please allow me to ask some more stupid questions. > > Are you ignoring compilation errors/warnings? > > [image: indicatorfill-search.png] > What language are you using? > > I see IndicatorFillRange() but I don't see any IndicatorFill(). Not even > at the official doc page. > https://www.scintilla.org/ScintillaDoc.html > > The prototypes have a start position *and a length*. Nothing else. i+1 is > providing value that is the current position in the document plus one for a > length which is going to change an awful lot if you are thousands of lines > in. > > -- You received this message because you are subscribed to the Google Groups "scintilla-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/scintilla-interest/471cd93b-d946-4c90-bf61-6eee1a2f38efn%40googlegroups.com.