Method DeleteBlock
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
DeleteBlock(int, bool)
Deletes a specified block of characters.
public virtual bool DeleteBlock(int len, bool withChange = false)
Parameters
len
intSpecifies length of block (number of characters) to delete.
withChange
boolIndicates if the change needs to be translated to the parser
Returns
- bool
True if method succeed; otherwise false.
Remarks
The method deletes block of characters starting from the current position.
DeleteBlock(Rectangle, bool)
Deletes a specified block of characters.
public virtual bool DeleteBlock(Rectangle rect, bool withChange = false)
Parameters
rect
RectangleSpecifies coordinates of characters block to delete.
withChange
boolIndicates if the change needs to be translated to the parser
Returns
- bool
True if method succeed; otherwise false.