Skip to content

Commit 99c59d5

Browse files
committed
refs #15 Fixed typo
1 parent ed73ebf commit 99c59d5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818

1919
**NOTE:**
2020

21-
* A diff will be shown only after selecting comparison text first (using `Select Text for Compare`)
22-
* Executing the `Select Text for Compare` or `Compare Text with Previous Selection` command without selecting any text will use the entire text of the current file
21+
* A diff will be shown only after selecting comparison text first (using `Select Text for Compare`).
22+
* Executing the `Select Text for Compare` or `Compare Text with Previous Selection` command without selecting any text will use the entire text of the current file.
2323

2424
## Configurations
2525

2626
* `partialDiff.preComparisonTextNormalizationRules`: Rules to normalize texts for diff view.
2727

2828
It doesn't mutate texts in the editors. Only texts in diff views get normalised.
29-
If a diff is presetned with text normalised (or possibly normalised), `~` is used in the diff title instead of ``)
29+
If a diff is presented with text normalised (or possibly normalised), `~` is used in the diff title instead of ``)
3030

31-
Each rule has `match`, `replaceWith` and optionally `name`
31+
Each rule has `match`, `replaceWith` and optionally `name`.
3232

3333
* `name`: Optional. Name of the rule to describe what the rule is for.
34-
* `match`: Regular expression to find text you want to normalise. [Global search flag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions?redirectlocale=en-US&redirectslug=JavaScript%2FGuide%2FRegular_Expressions#Advanced_searching_with_flags) is automatically applied
34+
* `match`: Regular expression to find text you want to normalise. [Global search flag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions?redirectlocale=en-US&redirectslug=JavaScript%2FGuide%2FRegular_Expressions#Advanced_searching_with_flags) is automatically applied.
3535
* `replaceWith`: One of the following
3636
* **Replacement text** as a string. You can use `$N`, where `N` is the index of substring (starting from 1) you captured in `match` with `()`.
3737
* **Letter case specification** as an object. Valid cases are `upper` and `lower`.
@@ -67,9 +67,9 @@ You can quickly mark the selected text by adding the `partial-diff` commands to
6767
{ "key": "ctrl+1", "command": "extension.partialDiff.markSection1",
6868
"when": "editorTextFocus" },
6969
{ "key": "ctrl+2", "command": "extension.partialDiff.markSection2AndTakeDiff",
70-
"when": "editorTextFocus" }
70+
"when": "editorTextFocus" },
7171
{ "key": "ctrl+3", "command": "extension.partialDiff.diffSelectionWithClipboard",
72-
"when": "editorTextFocus" }
72+
"when": "editorTextFocus" },
7373
```
7474

7575
## Known problems

0 commit comments

Comments
 (0)