Implementation of TextEdit interface from Language Server Protocol

DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.

See also:

Static methods

staticparse(original:Dynamic):TextEdit

Constructor

@:value({ newText : null, range : null })new(?range:Range, ?newText:String)

Variables

newText:String

The string to be inserted. For delete operations use an empty string.

range:Range

The range of the text document to be manipulated. To insert text into a document create a range where start === end.