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) {