mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-22 08:09:42 +01:00
💄
This commit is contained in:
@@ -211,8 +211,10 @@ export class ModesContentHoverWidget extends Widget implements IContentWidget, I
|
||||
) {
|
||||
super();
|
||||
|
||||
const markerHoverParticipant = instantiationService.createInstance(MarkerHoverParticipant, editor, this);
|
||||
const markdownHoverParticipant = instantiationService.createInstance(MarkdownHoverParticipant, editor, this);
|
||||
const participants = [
|
||||
instantiationService.createInstance(MarkdownHoverParticipant, editor, this),
|
||||
instantiationService.createInstance(MarkerHoverParticipant, editor, this)
|
||||
];
|
||||
|
||||
this._hover = this._register(new HoverWidget());
|
||||
this._id = ModesContentHoverWidget.ID;
|
||||
@@ -243,7 +245,7 @@ export class ModesContentHoverWidget extends Widget implements IContentWidget, I
|
||||
|
||||
this._messages = [];
|
||||
this._lastRange = null;
|
||||
this._computer = new ModesContentComputer(this._editor, [markdownHoverParticipant, markerHoverParticipant]);
|
||||
this._computer = new ModesContentComputer(this._editor, participants);
|
||||
this._highlightDecorations = [];
|
||||
this._isChangingDecorations = false;
|
||||
this._shouldFocus = false;
|
||||
|
||||
Reference in New Issue
Block a user