Expand description
Representation of a TextEdit
.
rust-analyzer
never mutates text itself and only sends diffs to clients,
so TextEdit
is the ultimate representation of the work done by
rust-analyzer.
Structs§
InsertDelete
– a single “atomic” change to text- A range in text, represented as a pair of
TextSize
. - A measure of text length. Also, equivalently, an index into text.