@codingame/monaco-vscode-timeline-service-override 4.5.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-timeline-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@5.0.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -49,6 +49,7 @@ import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/commo
|
|
|
49
49
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
50
50
|
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
51
51
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
52
|
+
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
52
53
|
|
|
53
54
|
const _moduleId = "vs/workbench/contrib/timeline/browser/timelinePane";
|
|
54
55
|
const ItemHeight = 22;
|
|
@@ -183,8 +184,8 @@ const TimelineFollowActiveEditorContext = ( (new RawContextKey('timelineFollowAc
|
|
|
183
184
|
const TimelineExcludeSources = ( (new RawContextKey('timelineExcludeSources', '[]', true)));
|
|
184
185
|
let TimelinePane = class TimelinePane extends ViewPane {
|
|
185
186
|
static { this.TITLE = ( localize2WithPath(_moduleId, 2, "Timeline")); }
|
|
186
|
-
constructor(options, keybindingService, contextMenuService, contextKeyService, configurationService, storageService, viewDescriptorService, instantiationService, editorService, commandService, progressService, timelineService, openerService, themeService, telemetryService, labelService, uriIdentityService, extensionService) {
|
|
187
|
-
super({ ...options, titleMenuId: MenuId.TimelineTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
|
|
187
|
+
constructor(options, keybindingService, contextMenuService, contextKeyService, configurationService, storageService, viewDescriptorService, instantiationService, editorService, commandService, progressService, timelineService, openerService, themeService, telemetryService, hoverService, labelService, uriIdentityService, extensionService) {
|
|
188
|
+
super({ ...options, titleMenuId: MenuId.TimelineTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
188
189
|
this.storageService = storageService;
|
|
189
190
|
this.editorService = editorService;
|
|
190
191
|
this.commandService = commandService;
|
|
@@ -734,9 +735,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
|
|
|
734
735
|
},
|
|
735
736
|
keyboardNavigationLabelProvider: ( (new TimelineKeyboardNavigationLabelProvider())),
|
|
736
737
|
multipleSelectionSupport: false,
|
|
737
|
-
overrideStyles:
|
|
738
|
-
listBackground: this.getBackgroundColor()
|
|
739
|
-
}
|
|
738
|
+
overrideStyles: this.getLocationBasedColors().listOverrideStyles,
|
|
740
739
|
});
|
|
741
740
|
this._register(this.tree.onContextMenu(e => this.onContextMenu(this.commands, e)));
|
|
742
741
|
this._register(this.tree.onDidChangeSelection(e => this.ensureValidItems()));
|
|
@@ -850,9 +849,10 @@ TimelinePane = ( (__decorate([
|
|
|
850
849
|
( (__param(12, IOpenerService))),
|
|
851
850
|
( (__param(13, IThemeService))),
|
|
852
851
|
( (__param(14, ITelemetryService))),
|
|
853
|
-
( (__param(15,
|
|
854
|
-
( (__param(16,
|
|
855
|
-
( (__param(17,
|
|
852
|
+
( (__param(15, IHoverService))),
|
|
853
|
+
( (__param(16, ILabelService))),
|
|
854
|
+
( (__param(17, IUriIdentityService))),
|
|
855
|
+
( (__param(18, IExtensionService)))
|
|
856
856
|
], TimelinePane)));
|
|
857
857
|
class TimelineElementTemplate {
|
|
858
858
|
static { this.id = 'TimelineElementTemplate'; }
|