On Wed, 26 Jul 2017, Alexey via Lazarus wrote:
First start by defining what ComparePoints is supposed to measure or
compare.
yes, of course: compare source editor x/y positions. Ie, it is
CompareCoords.
In that case you need some enumerated.
TRelativePosition =
(rpEqual,
rpNorth,rpEast,rpSouth,rpWest,
rpNorthEast,rpSouthEast,rpSouthWest,rpNorhWest);
+1, 0, -1 does not tell you enough.
Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus