Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/vs/editor/contrib/comment/common/lineCommentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class LineCommentCommand implements EditorCommon.ICommand {

/**
* Analyze lines and decide which lines are relevant and what the toggle should do.
* Also, build up several offsets and lengths usefull in the generation of editor operations.
* Also, build up several offsets and lengths useful in the generation of editor operations.
*/
public static _analyzeLines(type:Type, model:ISimpleModel, lines:ILinePreflightData[], startLineNumber:number): IPreflightData {
var lineData: ILinePreflightData,
Expand Down Expand Up @@ -206,7 +206,7 @@ export class LineCommentCommand implements EditorCommon.ICommand {
}

/**
* Given a succesfull analysis, execute either insert line comments, either remove line comments
* Given a successful analysis, execute either insert line comments, either remove line comments
*/
private _executeLineComments(model:ISimpleModel, builder:EditorCommon.IEditOperationBuilder, data:IPreflightData, s:EditorCommon.IEditorSelection): void {

Expand Down Expand Up @@ -267,7 +267,7 @@ export class LineCommentCommand implements EditorCommon.ICommand {
}

/**
* Given an unsuccesfull analysis, delegate to the block comment command
* Given an unsuccessful analysis, delegate to the block comment command
*/
private _executeBlockComment(model:EditorCommon.ITokenizedModel, builder:EditorCommon.IEditOperationBuilder, s:EditorCommon.IEditorSelection): void {
var commentsSupport = model.getModeAtPosition(s.startLineNumber, s.startColumn).commentsSupport;
Expand Down