From 6dafff7b3abb445d85a05d478c51e81c36498a10 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 11 Aug 2021 18:33:44 -0700 Subject: [PATCH] Fix monaco --- src/vs/editor/common/config/editorOptions.ts | 4 ++-- src/vs/editor/common/core/range.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/editor/common/config/editorOptions.ts b/src/vs/editor/common/config/editorOptions.ts index fe36ad8ffc1..980308e5d6d 100644 --- a/src/vs/editor/common/config/editorOptions.ts +++ b/src/vs/editor/common/config/editorOptions.ts @@ -75,7 +75,7 @@ export interface IEditorOptions { /** * Control the rendering of line numbers. * If it is a function, it will be invoked when rendering a line number and the return value will be rendered. - * Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using an identity function). + * Otherwise, if it is a truthy, line numbers will be rendered normally (equivalent of using an identity function). * Otherwise, line numbers will not be rendered. * Defaults to `on`. */ @@ -714,7 +714,7 @@ export interface IDiffEditorOptions extends IEditorOptions { */ originalAriaLabel?: string; /** - * Aria label for modifed editor. + * Aria label for modified editor. */ modifiedAriaLabel?: string; } diff --git a/src/vs/editor/common/core/range.ts b/src/vs/editor/common/core/range.ts index d684e3b9520..e9f53ab665b 100644 --- a/src/vs/editor/common/core/range.ts +++ b/src/vs/editor/common/core/range.ts @@ -134,7 +134,7 @@ export class Range { } /** - * Test if `otherRange` is strinctly in `range` (must start after, and end before). If the ranges are equal, will return false. + * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false. */ public static strictContainsRange(range: IRange, otherRange: IRange): boolean { if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {