Return True if there is any selection.
function HaveSelection: Boolean;
Use this method instead of checking if SelLength property is equal to zero. When columnar selection is made, SelLength is zero.
TCustomSyntaxMemo Methods