mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
commit
230a6266eb
|
@ -432,7 +432,7 @@ export abstract class ZoneWidget implements IHorizontalSashLayoutProvider {
|
|||
const model = this.editor.getModel();
|
||||
if (model) {
|
||||
const range = model.validateRange(new Range(where.startLineNumber, 1, where.endLineNumber + 1, 1));
|
||||
this.revealRange(range, range.endLineNumber === model.getLineCount());
|
||||
this.revealRange(range, range.startLineNumber === model.getLineCount());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue