Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed May 30, 2017
1 parent 54e3d65 commit afe47dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/vs/editor/common/editorCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface IModelDecorationOverviewRulerOptions {
*/
export interface IModelDecorationOptions {
/**
* Customize the growing behaviour of the decoration when typing at the edges of the decoration.
* Customize the growing behavior of the decoration when typing at the edges of the decoration.
* Defaults to TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
*/
stickiness?: TrackedRangeStickiness;
Expand Down Expand Up @@ -925,8 +925,8 @@ export interface ITextModelWithMarkers extends ITextModel {
}

/**
* Describes the behaviour of decorations when typing/editing near their edges.
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehaviour`
* Describes the behavior of decorations when typing/editing near their edges.
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
*/
export enum TrackedRangeStickiness {
AlwaysGrowsWhenTypingAtEdges = 0,
Expand Down
6 changes: 3 additions & 3 deletions src/vs/monaco.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ declare module monaco.editor {
*/
export interface IModelDecorationOptions {
/**
* Customize the growing behaviour of the decoration when typing at the edges of the decoration.
* Customize the growing behavior of the decoration when typing at the edges of the decoration.
* Defaults to TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
*/
stickiness?: TrackedRangeStickiness;
Expand Down Expand Up @@ -1638,8 +1638,8 @@ declare module monaco.editor {
}

/**
* Describes the behaviour of decorations when typing/editing near their edges.
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehaviour`
* Describes the behavior of decorations when typing/editing near their edges.
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
*/
export enum TrackedRangeStickiness {
AlwaysGrowsWhenTypingAtEdges = 0,
Expand Down

2 comments on commit afe47dc

@CoolGoose
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically behaviour is correct . I assume the goal is to move to American English ?

@alexdima
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just missed a couple of spots in f64bc3f which is about vscode.d.ts (the vscode API) using a consistent form -- we went with American English inspired by the use of color in CSS for example. It's not for correctness, but for consistency purposes. I learned in school the behaviour form, since I learned British English :).

Please sign in to comment.