mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-25 20:24:04 +00:00
setting the type of the indentation line number and the level
This commit is contained in:
@@ -802,8 +802,8 @@ export class InteractiveEditorZoneWidget extends ZoneWidget {
|
||||
const visibleRange = viewModel.getCompletelyVisibleViewRange();
|
||||
const startLineVisibleRange = visibleRange.startLineNumber;
|
||||
const positionLine = position.lineNumber;
|
||||
let indentationLineNumber;
|
||||
let indentationLevel;
|
||||
let indentationLineNumber: number | undefined;
|
||||
let indentationLevel: number | undefined;
|
||||
for (let lineNumber = positionLine; lineNumber >= startLineVisibleRange; lineNumber--) {
|
||||
const currentIndentationLevel = viewModel.getLineFirstNonWhitespaceColumn(lineNumber);
|
||||
if (currentIndentationLevel !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user