[Lazarus] SynEdit.TextBetweenPoints (Martin?)

Martin Frb lazarus at mfriebe.de
Sat Aug 10 23:56:37 CEST 2019


On 10/08/2019 23:35, Bart via lazarus wrote:
> On Sat, Aug 10, 2019 at 10:52 PM Martin Frb via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>
>> The block pos is limited to existing lines. And if line 1 does not
>> exist..... argh
> TSynEditSelection.SetStartLineBytePos should not allow values of X/Y < 1?
>
The problem is that lines.count = 0 should not exist.
But I am not opening that can of worms right now.

I added a few more workarounds. Please test.


More information about the lazarus mailing list