Skip to content

Commit de6f24c

Browse files
DrugsZ李京廷
andauthored
fix: typos (microsoft#179840)
Co-authored-by: 李京廷 <[email protected]>
1 parent c6033ea commit de6f24c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vs/editor/browser/widget/codeEditorWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ export class CodeEditorWidget extends Disposable implements editorBrowser.ICodeE
13081308
for (const decorationOption of decorationOptions) {
13091309
let typeKey = decorationTypeKey;
13101310
if (decorationOption.renderOptions) {
1311-
// identify custom reder options by a hash code over all keys and values
1311+
// identify custom render options by a hash code over all keys and values
13121312
// For custom render options register a decoration type if necessary
13131313
const subType = hash(decorationOption.renderOptions).toString(16);
13141314
// The fact that `decorationTypeKey` appears in the typeKey has no influence

src/vs/editor/common/core/cursorColumns.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ export class CursorColumns {
116116
}
117117

118118
/**
119-
* ATTENTION: This works with 0-based columns (as oposed to the regular 1-based columns)
119+
* ATTENTION: This works with 0-based columns (as opposed to the regular 1-based columns)
120120
* @see {@link CursorColumns}
121121
*/
122122
public static nextRenderTabStop(visibleColumn: number, tabSize: number): number {
123123
return visibleColumn + tabSize - visibleColumn % tabSize;
124124
}
125125

126126
/**
127-
* ATTENTION: This works with 0-based columns (as oposed to the regular 1-based columns)
127+
* ATTENTION: This works with 0-based columns (as opposed to the regular 1-based columns)
128128
* @see {@link CursorColumns}
129129
*/
130130
public static nextIndentTabStop(visibleColumn: number, indentSize: number): number {

0 commit comments

Comments
 (0)