You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ The column and row indices are 1-based. If a 0 index is present, it means that a
74
74
"modifiedEndLineNumber": 4
75
75
}
76
76
```
77
-
means that the 4th line in the modified text was added after line 3 in the original text.
77
+
means that the 4th line in the modified text was added after line 3 in the original text.
78
78
79
79
The opposite:
80
80
```json
@@ -187,7 +187,7 @@ as opposed to
187
187
188
188
### 2.0.0
189
189
* New DiffComputer option: maxComputationTime. Specify maximum time that the diff computer should run. Specify 0 for no limit. For character changes (`charChanges`) there is a new hard coded maximum limit of 5 seconds.
190
-
* New return type from diffComputer:
190
+
* New return type from diffComputer:
191
191
```
192
192
interface IDiffComputerResult {
193
193
quitEarly: boolean;
@@ -199,12 +199,12 @@ as opposed to
199
199
Initial release
200
200
201
201
## Contribute
202
-
Since we do not want this package to differ from the original implementation in VS Code, no changes that differs from the [source repository](https://github.com/Microsoft/vscode) will be merged. Any changes that only affect this npm package (like changes to this README) are welcome via pull requests.
202
+
Since we do not want this package to differ from the original implementation in VS Code, no changes that differs from the [source repository](https://github.com/Microsoft/vscode) will be merged. Any changes that only affect this npm package (like changes to this README) are welcome via pull requests.
203
203
204
204
Steps for updating diff algorithm:
205
205
* Copy all necessary files from VS Code repo.
206
206
* Verify with `npm run build` that all code is self-contained.
207
-
* Verify with `npm run unimported` that there are no unused files.
207
+
* Verify with `npm run knip` that there are no unused files or exports.
208
208
* Run `npm test` to run all the tests.
209
209
* Update [src/example.ts] on any API changes.
210
210
* Run `npm run example` and update this README with example usage code and output.
0 commit comments