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? -- Bart