diff options
Diffstat (limited to 'src/vs/monaco.d.ts')
-rw-r--r-- | src/vs/monaco.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index db39c17f9c6..91b72dd4d11 100644 --- a/src/vs/monaco.d.ts +++ b/src/vs/monaco.d.ts @@ -5372,10 +5372,14 @@ declare namespace monaco.editor { */ getVisibleRanges(): Range[]; /** - * Get the vertical position (top offset) for the line w.r.t. to the first line. + * Get the vertical position (top offset) for the line's top w.r.t. to the first line. */ getTopForLineNumber(lineNumber: number): number; /** + * Get the vertical position (top offset) for the line's bottom w.r.t. to the first line. + */ + getBottomForLineNumber(lineNumber: number): number; + /** * Get the vertical position (top offset) for the position w.r.t. to the first line. */ getTopForPosition(lineNumber: number, column: number): number; |