On 25/11/2011 14:48, silvioprog wrote: > Hi, > > Please see in: http://bugs.freepascal.org/view.php?id=20750 > > Thx. > See comment on the issue, Selection is correct. Though SelStart moves the caret to the start position. It may be better to have it at SelEnd. But the user code cam adjust the position.