[Lazarus] SynEdit and gutter behaviour

Bart bartjunk64 at gmail.com
Fri Sep 16 18:45:41 CEST 2011


On 9/15/11, Martin <lazarus at mfriebe.de> wrote:

> The line number(for the point is one based, so add one.
> The X pos is byte based. You should know at which byte in the string
> (again 1-based) the desired text starts
>
> e.g line with index 3 (4t line on screen:
> Foo Bar Some
>
> Bar is Point(5, 4) to Point(8, 4)
> the "F" in Foo is Point(1, 4) to Point(2, 4)
>
> point is X,Y

Thanks for the help.
I got it working now with TextBetweenPoints.

Bart




More information about the Lazarus mailing list