@@ -22,7 +22,7 @@ export class MergeConflictParser {
2222
2323 static scanDocument ( document : vscode . TextDocument ) : interfaces . IDocumentMergeConflict [ ] {
2424
25- // Scan each line in the document, we already know there is atleast a <<<<<<< and
25+ // Scan each line in the document, we already know there is at least a <<<<<<< and
2626 // >>>>>> marker within the document, we need to group these into conflict ranges.
2727 // We initially build a scan match, that references the lines of the header, splitter
2828 // and footer. This is then converted into a full descriptor containing all required
@@ -61,7 +61,7 @@ export class MergeConflictParser {
6161 else if ( currentConflict && ! currentConflict . splitter && line . text . startsWith ( splitterMarker ) ) {
6262 currentConflict . splitter = line ;
6363 }
64- // Are we withon a conflict block and is this a footer? >>>>>>>
64+ // Are we within a conflict block and is this a footer? >>>>>>>
6565 else if ( currentConflict && line . text . startsWith ( endFooterMarker ) ) {
6666 currentConflict . endFooter = line ;
6767
@@ -92,9 +92,9 @@ export class MergeConflictParser {
9292
9393 let tokenAfterCurrentBlock : vscode . TextLine = scanned . commonAncestors [ 0 ] || scanned . splitter ;
9494
95- // Assume that descriptor.current.header, descriptor.incoming.header and descriptor.spliiter
95+ // Assume that descriptor.current.header, descriptor.incoming.header and descriptor.splitter
9696 // have valid ranges, fill in content and total ranges from these parts.
97- // NOTE: We need to shift the decortator range back one character so the splitter does not end up with
97+ // NOTE: We need to shift the decorator range back one character so the splitter does not end up with
9898 // two decoration colors (current and splitter), if we take the new line from the content into account
9999 // the decorator will wrap to the next line.
100100 return {
0 commit comments