The problem occurs only when position is 0. If I set the position to 1 and decrement the length, I can get a squiggle (albeit one character shorter than it should be).
In practice the first syntax error for most reasonable documents occurs at a later position, so I think we can push ahead with this API. Thanks again, Eric Neil Hodgson wrote:
Hi Eric,I'm using this code to drive squiggling with the new decorator API. It's working fine everywhere (nice work, Neil), except it seems to break on the first line of a buffer. ... 144: runStart=0 position=0 fillLength=29 151: remove runStart=0 current->Empty() is true, deleting curr Ind DEBUG: KoLintDisplayer: leaving display The '144' and '151' refer to lines in scintilla/src/RunStyles.cxx It looks like it deleted the indicator I just laid down because it has only one partition, but I didn't dive in further.Thanks for the report - I was hoping for some real use of this code in case I hadn't found all the bugs. May be due to the 0 start. I'll look into it but am a bit busy so maybe end of week. Probably won't get the release done this week either. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
_______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
