File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/cspell-types/api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11//#region src/Parser/types.d.ts
22/**
3- * A SourceMap is used to map transform the location of a piece of text back to its original offsets.
3+ * A SourceMap is used to map or transform the location of a piece of text back to its original offsets.
44* This is necessary in order to report the correct location of a spelling issue.
55* An empty source map indicates that it was a 1:1 transformation.
66*
77* Non-1:1 transformations are considered to be a single segment and cannot be split.
88*
9- * A partial index into a non-linear segments will get mapped to the start of the segment.
9+ * A partial index into a non-linear segment will get mapped to the start of the segment.
1010*
1111* To signal a non-1:1 transformation a 0,0 pair can be used in the source map. This indicates that the
1212* following segment is a non-linear transformation and should not be split.
Original file line number Diff line number Diff line change @@ -1122,13 +1122,13 @@ interface FeatureWithConfiguration {
11221122//#endregion
11231123//#region src/Parser/types.d.ts
11241124/**
1125- * A SourceMap is used to map transform the location of a piece of text back to its original offsets.
1125+ * A SourceMap is used to map or transform the location of a piece of text back to its original offsets.
11261126* This is necessary in order to report the correct location of a spelling issue.
11271127* An empty source map indicates that it was a 1:1 transformation.
11281128*
11291129* Non-1:1 transformations are considered to be a single segment and cannot be split.
11301130*
1131- * A partial index into a non-linear segments will get mapped to the start of the segment.
1131+ * A partial index into a non-linear segment will get mapped to the start of the segment.
11321132*
11331133* To signal a non-1:1 transformation a 0,0 pair can be used in the source map. This indicates that the
11341134* following segment is a non-linear transformation and should not be split.
You can’t perform that action at this time.
0 commit comments