Table of Contents

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 int

Specifies length of block (number of characters) to delete.

withChange bool

Indicates 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 Rectangle

Specifies coordinates of characters block to delete.

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if method succeed; otherwise false.