Make link matcher API the default for web links addon

This commit is contained in:
Daniel Imms
2020-02-08 10:52:36 -08:00
parent 660cf26e49
commit 54743eda16
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ export class Linkifier2 implements ILinkifier2 {
// Add listener for rerendering
if (this._renderService) {
this._linkCacheDisposables.push(this._renderService.onRender((e: { start: number, end: number }) => {
this._linkCacheDisposables.push(this._renderService.onRender(e => {
this._clearCurrentLink(e.start + 1 + this._bufferService.buffer.ydisp, e.end + 1 + this._bufferService.buffer.ydisp);
}));
}