提交 510d90d1 编写于 作者: V vim88

Fixes typo and occurrences of double words in comments.

上级 16a0994c
......@@ -73,7 +73,7 @@ suite('Tests for Toggle Comment action from Emmet (HTML)', () => {
new Selection(3, 17, 3, 17), // cursor inside the inner span element
new Selection(4, 5, 4, 5), // cursor inside opening tag
new Selection(5, 35, 5, 35), // cursor inside closing tag
new Selection(7, 3, 7, 3), // cursor inside open tag of <ul> one of of whose children is already commented
new Selection(7, 3, 7, 3), // cursor inside open tag of <ul> one of whose children is already commented
new Selection(14, 8, 14, 8), // cursor inside the css property inside the style tag
new Selection(18, 3, 18, 3) // cursor inside the css rule inside the style tag
];
......@@ -114,7 +114,7 @@ suite('Tests for Toggle Comment action from Emmet (HTML)', () => {
editor.selections = [
new Selection(3, 7, 3, 25), // <span>Hello</span><
new Selection(4, 3, 4, 30), // <li><span>There</span></li>
new Selection(7, 2, 10, 7), // The <ul> one of of whose children is already commented
new Selection(7, 2, 10, 7), // The <ul> one of whose children is already commented
new Selection(14, 4, 14, 17), // css property inside the style tag
new Selection(17, 3, 20, 4) // the css rule inside the style tag
];
......@@ -192,7 +192,7 @@ suite('Tests for Toggle Comment action from Emmet (HTML)', () => {
return withRandomFileEditor(contents, 'html', (editor, doc) => {
editor.selections = [
new Selection(3, 24, 4, 20),
new Selection(7, 2, 9, 10) // The <ul> one of of whose children is already commented
new Selection(7, 2, 9, 10) // The <ul> one of whose children is already commented
];
return toggleComment().then(() => {
......@@ -232,7 +232,7 @@ suite('Tests for Toggle Comment action from Emmet (HTML)', () => {
new Selection(3, 17, 3, 17), // cursor inside the inner span element
new Selection(4, 5, 4, 5), // two cursors: one inside opening tag
new Selection(4, 17, 4, 17), // and the second inside the inner span element
new Selection(7, 3, 7, 3), // two cursors: one inside open tag of <ul> one of of whose children is already commented
new Selection(7, 3, 7, 3), // two cursors: one inside open tag of <ul> one of whose children is already commented
new Selection(9, 10, 9, 10), // and the second inside inner li element, whose parent is selected
new Selection(12, 3, 12, 3), // four nested cursors: one inside the style open tag
new Selection(14, 8, 14, 8), // the second inside the css property inside the style tag
......
......@@ -115,7 +115,7 @@ class TypeScriptRenameProvider implements vscode.RenameProvider {
newName: string,
token: vscode.CancellationToken,
): Promise<vscode.WorkspaceEdit | undefined> {
// Make sure we preserve file exension if none provided
// Make sure we preserve file extension if none provided
if (!path.extname(newName)) {
newName += path.extname(fileToRename);
}
......
......@@ -553,7 +553,7 @@ export interface CodeActionProvider {
provideCodeActions(model: model.ITextModel, range: Range | Selection, context: CodeActionContext, token: CancellationToken): ProviderResult<CodeAction[]>;
/**
* Optional list of of CodeActionKinds that this provider returns.
* Optional list of CodeActionKinds that this provider returns.
*/
providedCodeActionKinds?: ReadonlyArray<string>;
}
......
......@@ -764,7 +764,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
}
// Actually move the editor if a specific index is provided and we figure
// out that the the editor is already opened at a different index. This
// out that the editor is already opened at a different index. This
// ensures the right set of events are fired to the outside.
if (typeof openEditorOptions.index === 'number') {
const indexOfEditor = this._group.indexOf(editor);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册