Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,17 @@ declare module 'vscode' {
* The range will always be revealed in the center of the viewport.
*/
InCenter = 1,

/**
* If the range is outside the viewport, it will be revealed in the center of the viewport.
* Otherwise, it will be revealed with as little scrolling as possible.
*/
InCenterIfOutsideViewport = 2,

/**
* The range will always be revealed at the top of the viewport.
*/
AtTop = 3
}

export interface NotebookEditor {
Expand Down