• Creates an annotated replace text edit.

    Parameters

    • range: Range

      The range of text to be replaced.

    • newText: string

      The new text.

    • annotation: string

      The annotation.

    Returns AnnotatedTextEdit