mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
var => let/const
This commit is contained in:
@@ -292,7 +292,7 @@ export class ExtHostDocumentData extends MirrorModel2 {
|
||||
resultLines: string[] = [];
|
||||
|
||||
resultLines.push(this._lines[startLineIndex].substring(range.start.character));
|
||||
for (var i = startLineIndex + 1; i < endLineIndex; i++) {
|
||||
for (let i = startLineIndex + 1; i < endLineIndex; i++) {
|
||||
resultLines.push(this._lines[i]);
|
||||
}
|
||||
resultLines.push(this._lines[endLineIndex].substring(0, range.end.character));
|
||||
|
||||
Reference in New Issue
Block a user