Robert Roessler:

> Like I said, that was an "offhand" (or "convenience" in working with
> the code) remark - the real meat of this is in the previous paragraph,
> where I allege that *all* of the "close" matches are working
> improperly... it does not look like what we both assumed initially - a
> bogus end-case handling problem.

   Positions are between characters so the capture range is from the
midpoint of one character to the midpoint of the next.

   Try adding this immediately after the lineStart .. lineEnd loop:

                        if (pt.x < (ll->positions[lineEnd] - subLineStart)) {
                                return pdoc->MovePositionOutsideChar(lineEnd + 
posLineStart, 1);
                        }

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to