Merge pull request #1026 from Tyriar/1025_fix_link_application_range

Fix links sometimes not getting applied
This commit is contained in:
Daniel Imms
2017-10-05 08:04:36 -07:00
committed by GitHub
+1 -1
View File
@@ -87,7 +87,7 @@ export class Linkifier extends EventEmitter implements ILinkifier {
this._rowsToLinkify.end = end;
} else {
this._rowsToLinkify.start = this._rowsToLinkify.start < start ? this._rowsToLinkify.start : start;
this._rowsToLinkify.end = this._rowsToLinkify.end < end ? this._rowsToLinkify.end : end;
this._rowsToLinkify.end = this._rowsToLinkify.end > end ? this._rowsToLinkify.end : end;
}
// Clear out any existing links on this row range