EControl Syntax Editor SDK
TCustomSyntaxMemo.CanDeleteText Method

Returns True if the text range can be deleted.

function CanDeleteText(Pos: integer; Count: integer): Boolean; virtual;

Pos is zero-based start position of text range, Count - length of the text range. If ReadOnly is True or selection is empty or any part of text range has read-only style CanDeleteText returns False.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!