(uri: Uri, position: Position, newText: string)
| 1158 | } |
| 1159 | |
| 1160 | insert(uri: Uri, position: Position, newText: string): void { |
| 1161 | const key = uri.toString(); |
| 1162 | if (!this._edits.has(key)) { |
| 1163 | this._edits.set(key, []); |
| 1164 | } |
| 1165 | this._edits |
| 1166 | .get(key)! |
| 1167 | .push(new TextEdit(new Range(position, position), newText)); |
| 1168 | } |
| 1169 | |
| 1170 | delete(uri: Uri, range: Range): void { |
| 1171 | const key = uri.toString(); |