Open topic with navigation

Delete Method (IEditor)
Deletes the specified text. All positions are 0-based.
Remarks
All positions are 0-based.

C# Syntax

    void Delete(
       int fromLine,
       int fromCharPos,
       int toLine,
       int toCharPos
    )

Parameters

fromLine
  The line in which the deletion starts.
fromCharPos
  The character position at which the deletion starts in the first line, inclusive.
toLine
  The line in which the deletion ends.
toCharPos
  The character position at which the deletion ends in the last line, inclusive.