Package xsbti

Interface TextEdit


public interface TextEdit
A representation of the `TextEdit` found in the LSP protocol.

NOTE: That instead of a `Range` we use the internal [[xsbti.Position]].

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The next text that will be inserted into the given [[TextEdit.position]].
    The position this edit will be applied to.
  • Method Details

    • position

      Position position()
      The position this edit will be applied to.
    • newText

      String newText()
      The next text that will be inserted into the given [[TextEdit.position]].