handle -> activate

This commit is contained in:
Daniel Imms
2020-02-07 09:59:25 -08:00
parent b18ded0e2d
commit f4a31251cb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ export class Linkifier2 implements ILinkifier2 {
}
if (this._linkAtPosition(this._currentLink, position)) {
this._currentLink.handle(event, this._currentLink.text);
this._currentLink.activate(event, this._currentLink.text);
}
}
+1 -1
View File
@@ -172,7 +172,7 @@ interface ILinkProvider {
interface ILink {
range: IBufferRange;
text: string;
handle(event: MouseEvent, text: string): void;
activate(event: MouseEvent, text: string): void;
hover?(event: MouseEvent, text: string): void;
leave?(event: MouseEvent, text: string): void;
}