Function lsp_document::apply_change [−][src]
pub fn apply_change<S: Borrow<str>>(
text: &IndexedText<S>,
change: TextChange
) -> String
Expand description
Applies a TextChange
to IndexedText
returning a new text as String
.