Crate rslint_text_edit

Crate rslint_text_edit 

Source
Expand description

Representation of a text edits.

This is taken from rust-analyzer’s text_edit crate

Structs§

Indel
InsertDelete – a single “atomic” change to text
TextEdit
TextEditBuilder
TextRange
A range in text, represented as a pair of TextSize.
TextSize
A measure of text length. Also, equivalently, an index into text.

Functions§

apply_indels