@theia/editor 1.67.0-next.13 → 1.67.0-next.56

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.
Files changed (147) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -4
  3. package/src/browser/editor-contribution.ts +26 -8
  4. package/src/browser/editor-frontend-module.ts +6 -0
  5. package/src/browser/index.ts +2 -0
  6. package/src/browser/split-editor-contribution.ts +46 -0
  7. package/src/browser/text-editor-split-contribution.ts +50 -0
  8. package/lib/browser/decorations/editor-decoration-style.d.ts +0 -9
  9. package/lib/browser/decorations/editor-decoration-style.d.ts.map +0 -1
  10. package/lib/browser/decorations/editor-decoration-style.js +0 -37
  11. package/lib/browser/decorations/editor-decoration-style.js.map +0 -1
  12. package/lib/browser/decorations/editor-decoration.d.ts +0 -119
  13. package/lib/browser/decorations/editor-decoration.d.ts.map +0 -1
  14. package/lib/browser/decorations/editor-decoration.js +0 -38
  15. package/lib/browser/decorations/editor-decoration.js.map +0 -1
  16. package/lib/browser/decorations/editor-decorator.d.ts +0 -7
  17. package/lib/browser/decorations/editor-decorator.d.ts.map +0 -1
  18. package/lib/browser/decorations/editor-decorator.js +0 -39
  19. package/lib/browser/decorations/editor-decorator.js.map +0 -1
  20. package/lib/browser/decorations/index.d.ts +0 -4
  21. package/lib/browser/decorations/index.d.ts.map +0 -1
  22. package/lib/browser/decorations/index.js +0 -22
  23. package/lib/browser/decorations/index.js.map +0 -1
  24. package/lib/browser/diff-navigator.d.ts +0 -10
  25. package/lib/browser/diff-navigator.d.ts.map +0 -1
  26. package/lib/browser/diff-navigator.js +0 -20
  27. package/lib/browser/diff-navigator.js.map +0 -1
  28. package/lib/browser/editor-command.d.ts +0 -102
  29. package/lib/browser/editor-command.d.ts.map +0 -1
  30. package/lib/browser/editor-command.js +0 -402
  31. package/lib/browser/editor-command.js.map +0 -1
  32. package/lib/browser/editor-contribution.d.ts +0 -30
  33. package/lib/browser/editor-contribution.d.ts.map +0 -1
  34. package/lib/browser/editor-contribution.js +0 -206
  35. package/lib/browser/editor-contribution.js.map +0 -1
  36. package/lib/browser/editor-frontend-module.d.ts +0 -6
  37. package/lib/browser/editor-frontend-module.d.ts.map +0 -1
  38. package/lib/browser/editor-frontend-module.js +0 -83
  39. package/lib/browser/editor-frontend-module.js.map +0 -1
  40. package/lib/browser/editor-keybinding.d.ts +0 -6
  41. package/lib/browser/editor-keybinding.d.ts.map +0 -1
  42. package/lib/browser/editor-keybinding.js +0 -51
  43. package/lib/browser/editor-keybinding.js.map +0 -1
  44. package/lib/browser/editor-language-quick-pick-service.d.ts +0 -12
  45. package/lib/browser/editor-language-quick-pick-service.d.ts.map +0 -1
  46. package/lib/browser/editor-language-quick-pick-service.js +0 -77
  47. package/lib/browser/editor-language-quick-pick-service.js.map +0 -1
  48. package/lib/browser/editor-linenumber-contribution.d.ts +0 -16
  49. package/lib/browser/editor-linenumber-contribution.d.ts.map +0 -1
  50. package/lib/browser/editor-linenumber-contribution.js +0 -89
  51. package/lib/browser/editor-linenumber-contribution.js.map +0 -1
  52. package/lib/browser/editor-manager.d.ts +0 -135
  53. package/lib/browser/editor-manager.d.ts.map +0 -1
  54. package/lib/browser/editor-manager.js +0 -472
  55. package/lib/browser/editor-manager.js.map +0 -1
  56. package/lib/browser/editor-menu.d.ts +0 -51
  57. package/lib/browser/editor-menu.d.ts.map +0 -1
  58. package/lib/browser/editor-menu.js +0 -208
  59. package/lib/browser/editor-menu.js.map +0 -1
  60. package/lib/browser/editor-navigation-contribution.d.ts +0 -68
  61. package/lib/browser/editor-navigation-contribution.d.ts.map +0 -1
  62. package/lib/browser/editor-navigation-contribution.js +0 -324
  63. package/lib/browser/editor-navigation-contribution.js.map +0 -1
  64. package/lib/browser/editor-variable-contribution.d.ts +0 -9
  65. package/lib/browser/editor-variable-contribution.d.ts.map +0 -1
  66. package/lib/browser/editor-variable-contribution.js +0 -65
  67. package/lib/browser/editor-variable-contribution.js.map +0 -1
  68. package/lib/browser/editor-widget-factory.d.ts +0 -18
  69. package/lib/browser/editor-widget-factory.d.ts.map +0 -1
  70. package/lib/browser/editor-widget-factory.js +0 -84
  71. package/lib/browser/editor-widget-factory.js.map +0 -1
  72. package/lib/browser/editor-widget.d.ts +0 -28
  73. package/lib/browser/editor-widget.d.ts.map +0 -1
  74. package/lib/browser/editor-widget.js +0 -130
  75. package/lib/browser/editor-widget.js.map +0 -1
  76. package/lib/browser/editor.d.ts +0 -311
  77. package/lib/browser/editor.d.ts.map +0 -1
  78. package/lib/browser/editor.js +0 -104
  79. package/lib/browser/editor.js.map +0 -1
  80. package/lib/browser/index.d.ts +0 -10
  81. package/lib/browser/index.d.ts.map +0 -1
  82. package/lib/browser/index.js +0 -28
  83. package/lib/browser/index.js.map +0 -1
  84. package/lib/browser/language-status/editor-language-status-service.d.ts +0 -78
  85. package/lib/browser/language-status/editor-language-status-service.d.ts.map +0 -1
  86. package/lib/browser/language-status/editor-language-status-service.js +0 -244
  87. package/lib/browser/language-status/editor-language-status-service.js.map +0 -1
  88. package/lib/browser/navigation/navigation-location-service.d.ts +0 -132
  89. package/lib/browser/navigation/navigation-location-service.d.ts.map +0 -1
  90. package/lib/browser/navigation/navigation-location-service.js +0 -352
  91. package/lib/browser/navigation/navigation-location-service.js.map +0 -1
  92. package/lib/browser/navigation/navigation-location-service.spec.d.ts +0 -2
  93. package/lib/browser/navigation/navigation-location-service.spec.d.ts.map +0 -1
  94. package/lib/browser/navigation/navigation-location-service.spec.js +0 -185
  95. package/lib/browser/navigation/navigation-location-service.spec.js.map +0 -1
  96. package/lib/browser/navigation/navigation-location-similarity.d.ts +0 -16
  97. package/lib/browser/navigation/navigation-location-similarity.d.ts.map +0 -1
  98. package/lib/browser/navigation/navigation-location-similarity.js +0 -58
  99. package/lib/browser/navigation/navigation-location-similarity.js.map +0 -1
  100. package/lib/browser/navigation/navigation-location-similarity.spec.d.ts +0 -2
  101. package/lib/browser/navigation/navigation-location-similarity.spec.d.ts.map +0 -1
  102. package/lib/browser/navigation/navigation-location-similarity.spec.js +0 -33
  103. package/lib/browser/navigation/navigation-location-similarity.spec.js.map +0 -1
  104. package/lib/browser/navigation/navigation-location-updater.d.ts +0 -36
  105. package/lib/browser/navigation/navigation-location-updater.d.ts.map +0 -1
  106. package/lib/browser/navigation/navigation-location-updater.js +0 -206
  107. package/lib/browser/navigation/navigation-location-updater.js.map +0 -1
  108. package/lib/browser/navigation/navigation-location-updater.spec.d.ts +0 -2
  109. package/lib/browser/navigation/navigation-location-updater.spec.d.ts.map +0 -1
  110. package/lib/browser/navigation/navigation-location-updater.spec.js +0 -178
  111. package/lib/browser/navigation/navigation-location-updater.spec.js.map +0 -1
  112. package/lib/browser/navigation/navigation-location.d.ts +0 -192
  113. package/lib/browser/navigation/navigation-location.d.ts.map +0 -1
  114. package/lib/browser/navigation/navigation-location.js +0 -301
  115. package/lib/browser/navigation/navigation-location.js.map +0 -1
  116. package/lib/browser/navigation/test/mock-navigation-location-updater.d.ts +0 -16
  117. package/lib/browser/navigation/test/mock-navigation-location-updater.d.ts.map +0 -1
  118. package/lib/browser/navigation/test/mock-navigation-location-updater.js +0 -39
  119. package/lib/browser/navigation/test/mock-navigation-location-updater.js.map +0 -1
  120. package/lib/browser/quick-editor-service.d.ts +0 -17
  121. package/lib/browser/quick-editor-service.d.ts.map +0 -1
  122. package/lib/browser/quick-editor-service.js +0 -102
  123. package/lib/browser/quick-editor-service.js.map +0 -1
  124. package/lib/browser/undo-redo-service.d.ts +0 -24
  125. package/lib/browser/undo-redo-service.d.ts.map +0 -1
  126. package/lib/browser/undo-redo-service.js +0 -106
  127. package/lib/browser/undo-redo-service.js.map +0 -1
  128. package/lib/common/editor-generated-preference-schema.d.ts +0 -303
  129. package/lib/common/editor-generated-preference-schema.d.ts.map +0 -1
  130. package/lib/common/editor-generated-preference-schema.js +0 -2666
  131. package/lib/common/editor-generated-preference-schema.js.map +0 -1
  132. package/lib/common/editor-preferences.d.ts +0 -42
  133. package/lib/common/editor-preferences.d.ts.map +0 -1
  134. package/lib/common/editor-preferences.js +0 -179
  135. package/lib/common/editor-preferences.js.map +0 -1
  136. package/lib/common/language-selector.d.ts +0 -14
  137. package/lib/common/language-selector.d.ts.map +0 -1
  138. package/lib/common/language-selector.js +0 -91
  139. package/lib/common/language-selector.js.map +0 -1
  140. package/lib/node/editor-backend-module.d.ts +0 -4
  141. package/lib/node/editor-backend-module.d.ts.map +0 -1
  142. package/lib/node/editor-backend-module.js +0 -23
  143. package/lib/node/editor-backend-module.js.map +0 -1
  144. package/lib/package.spec.d.ts +0 -1
  145. package/lib/package.spec.d.ts.map +0 -1
  146. package/lib/package.spec.js +0 -26
  147. package/lib/package.spec.js.map +0 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@ The `@theia/editor` extension contributed functionality such as the `editor` wid
16
16
 
17
17
  ## Additional Information
18
18
 
19
- - [API documentation for `@theia/editor`](https://eclipse-theia.github.io/theia/docs/next/modules/editor.html)
19
+ - [API documentation for `@theia/editor`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_editor.html)
20
20
  - [Theia - GitHub](https://github.com/eclipse-theia/theia)
21
21
  - [Theia - Website](https://theia-ide.org/)
22
22
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@theia/editor",
3
- "version": "1.67.0-next.13+c409d5d18",
3
+ "version": "1.67.0-next.56+d8f18cc386c",
4
4
  "description": "Theia - Editor Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.67.0-next.13+c409d5d18",
7
- "@theia/variable-resolver": "1.67.0-next.13+c409d5d18",
6
+ "@theia/core": "1.67.0-next.56+d8f18cc386c",
7
+ "@theia/variable-resolver": "1.67.0-next.56+d8f18cc386c",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "publishConfig": {
@@ -47,5 +47,5 @@
47
47
  "nyc": {
48
48
  "extends": "../../configs/nyc.json"
49
49
  },
50
- "gitHead": "c409d5d18d8c4f5a722f87b37ea9d6fd5af47ea8"
50
+ "gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
51
51
  }
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { EditorManager } from './editor-manager';
18
18
  import { TextEditor } from './editor';
19
- import { injectable, inject, optional } from '@theia/core/shared/inversify';
19
+ import { injectable, inject, optional, named } from '@theia/core/shared/inversify';
20
20
  import { StatusBarAlignment, StatusBar } from '@theia/core/lib/browser/status-bar/status-bar';
21
21
  import {
22
22
  FrontendApplicationContribution, DiffUris, DockLayout,
@@ -26,7 +26,7 @@ import {
26
26
  OpenWithService
27
27
  } from '@theia/core/lib/browser';
28
28
  import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
29
- import { CommandHandler, DisposableCollection, MenuContribution, MenuModelRegistry } from '@theia/core';
29
+ import { CommandHandler, DisposableCollection, MenuContribution, MenuModelRegistry, ContributionProvider, Prioritizeable } from '@theia/core';
30
30
  import { EditorCommands } from './editor-command';
31
31
  import { CommandRegistry, CommandContribution } from '@theia/core/lib/common';
32
32
  import { SUPPORTED_ENCODINGS } from '@theia/core/lib/common/supported-encodings';
@@ -35,6 +35,7 @@ import { CurrentWidgetCommandAdapter } from '@theia/core/lib/browser/shell/curre
35
35
  import { EditorWidget } from './editor-widget';
36
36
  import { EditorLanguageStatusService } from './language-status/editor-language-status-service';
37
37
  import { QuickEditorService } from './quick-editor-service';
38
+ import { SplitEditorContribution } from './split-editor-contribution';
38
39
 
39
40
  @injectable()
40
41
  export class EditorContribution implements FrontendApplicationContribution,
@@ -51,6 +52,9 @@ export class EditorContribution implements FrontendApplicationContribution,
51
52
  @inject(QuickInputService) @optional()
52
53
  protected readonly quickInputService: QuickInputService;
53
54
 
55
+ @inject(ContributionProvider) @named(SplitEditorContribution)
56
+ protected readonly splitEditorContributions: ContributionProvider<SplitEditorContribution>;
57
+
54
58
  onStart(): void {
55
59
  this.initEditorContextKeys();
56
60
  this.openWithService.registerHandler({
@@ -147,13 +151,19 @@ export class EditorContribution implements FrontendApplicationContribution,
147
151
  execute: () => this.quickInputService?.open(QuickEditorService.PREFIX)
148
152
  });
149
153
  const splitHandlerFactory = (splitMode: DockLayout.InsertMode): CommandHandler => new CurrentWidgetCommandAdapter(this.shell, {
150
- isEnabled: title => title?.owner instanceof EditorWidget,
154
+ isEnabled: title => {
155
+ if (!title?.owner) {
156
+ return false;
157
+ }
158
+ return this.findSplitContribution(title.owner) !== undefined;
159
+ },
151
160
  execute: async title => {
152
- if (title?.owner instanceof EditorWidget) {
153
- const selection = title.owner.editor.selection;
154
- const newEditor = await this.editorManager.openToSide(title.owner.editor.uri, { selection, widgetOptions: { mode: splitMode, ref: title.owner } });
155
- const oldEditorState = title.owner.editor.storeViewState();
156
- newEditor.editor.restoreViewState(oldEditorState);
161
+ if (!title?.owner) {
162
+ return;
163
+ }
164
+ const contribution = this.findSplitContribution(title.owner);
165
+ if (contribution) {
166
+ await contribution.split(title.owner, splitMode);
157
167
  }
158
168
  }
159
169
  });
@@ -165,6 +175,14 @@ export class EditorContribution implements FrontendApplicationContribution,
165
175
  commands.registerCommand(EditorCommands.SPLIT_EDITOR_LEFT, splitHandlerFactory('split-left'));
166
176
  }
167
177
 
178
+ protected findSplitContribution(widget: Widget): SplitEditorContribution | undefined {
179
+ const prioritized = Prioritizeable.prioritizeAllSync(
180
+ this.splitEditorContributions.getContributions(),
181
+ contribution => contribution.canHandle(widget)
182
+ );
183
+ return prioritized.length > 0 ? prioritized[0].value : undefined;
184
+ }
185
+
168
186
  registerKeybindings(keybindings: KeybindingRegistry): void {
169
187
  keybindings.registerKeybinding({
170
188
  command: EditorCommands.SHOW_ALL_OPENED_EDITORS.id,
@@ -39,6 +39,8 @@ import { EditorLanguageStatusService } from './language-status/editor-language-s
39
39
  import { EditorLineNumberContribution } from './editor-linenumber-contribution';
40
40
  import { UndoRedoService } from './undo-redo-service';
41
41
  import { EditorLanguageQuickPickService } from './editor-language-quick-pick-service';
42
+ import { SplitEditorContribution } from './split-editor-contribution';
43
+ import { TextEditorSplitContribution } from './text-editor-split-contribution';
42
44
 
43
45
  export default new ContainerModule(bind => {
44
46
  bindEditorPreferences(bind);
@@ -50,6 +52,10 @@ export default new ContainerModule(bind => {
50
52
  bind(OpenHandler).toService(EditorManager);
51
53
 
52
54
  bindContributionProvider(bind, EditorSelectionResolver);
55
+ bindContributionProvider(bind, SplitEditorContribution);
56
+
57
+ bind(TextEditorSplitContribution).toSelf().inSingletonScope();
58
+ bind(SplitEditorContribution).toService(TextEditorSplitContribution);
53
59
 
54
60
  bind(EditorCommandContribution).toSelf().inSingletonScope();
55
61
  bind(CommandContribution).toService(EditorCommandContribution);
@@ -23,3 +23,5 @@ export * from './editor-menu';
23
23
  export * from './editor-frontend-module';
24
24
  export * from './decorations';
25
25
  export * from './editor-linenumber-contribution';
26
+ export * from './split-editor-contribution';
27
+ export * from './text-editor-split-contribution';
@@ -0,0 +1,46 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2025 TypeFox and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { Widget, DockLayout } from '@theia/core/lib/browser';
18
+
19
+ /**
20
+ * Symbol used to bind SplitEditorContribution implementations.
21
+ */
22
+ export const SplitEditorContribution = Symbol('SplitEditorContribution');
23
+
24
+ /**
25
+ * A contribution interface for handling split operations on different editor types.
26
+ * Implementations should handle specific editor widget types (e.g., text editors, notebook editors).
27
+ *
28
+ * @template W the specific widget type this contribution handles
29
+ */
30
+ export interface SplitEditorContribution<W extends Widget = Widget> {
31
+ /**
32
+ * Determines whether this contribution can handle the split operation for the given widget.
33
+ * @param widget the widget to check
34
+ * @returns a priority number (higher means higher priority), or 0 if this contribution cannot handle the widget
35
+ */
36
+ canHandle(widget: Widget): number;
37
+
38
+ /**
39
+ * Splits the given widget according to the specified split mode.
40
+ * @param widget the widget to split
41
+ * @param splitMode the direction in which to split
42
+ * @returns the newly created widget, or undefined if the split operation failed
43
+ */
44
+ split(widget: W, splitMode: DockLayout.InsertMode): Promise<W | undefined>;
45
+ }
46
+
@@ -0,0 +1,50 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2025 TypeFox and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { inject, injectable } from '@theia/core/shared/inversify';
18
+ import { Widget, DockLayout } from '@theia/core/lib/browser';
19
+ import { SplitEditorContribution } from './split-editor-contribution';
20
+ import { EditorWidget } from './editor-widget';
21
+ import { EditorManager } from './editor-manager';
22
+
23
+ /**
24
+ * Implementation of SplitEditorContribution for text editors (EditorWidget).
25
+ */
26
+ @injectable()
27
+ export class TextEditorSplitContribution implements SplitEditorContribution<EditorWidget> {
28
+
29
+ @inject(EditorManager)
30
+ protected readonly editorManager: EditorManager;
31
+
32
+ canHandle(widget: Widget): number {
33
+ return widget instanceof EditorWidget ? 100 : 0;
34
+ }
35
+
36
+ async split(widget: EditorWidget, splitMode: DockLayout.InsertMode): Promise<EditorWidget | undefined> {
37
+ const selection = widget.editor.selection;
38
+ const newEditor = await this.editorManager.openToSide(widget.editor.uri, {
39
+ selection,
40
+ widgetOptions: { mode: splitMode, ref: widget }
41
+ });
42
+
43
+ // Preserve the view state (scroll position, etc.) from the original editor
44
+ const oldEditorState = widget.editor.storeViewState();
45
+ newEditor.editor.restoreViewState(oldEditorState);
46
+
47
+ return newEditor;
48
+ }
49
+ }
50
+
@@ -1,9 +0,0 @@
1
- import { Disposable } from '@theia/core';
2
- export declare class EditorDecorationStyle implements Disposable {
3
- readonly selector: string;
4
- protected decorationsStyleSheet: CSSStyleSheet;
5
- constructor(selector: string, styleProvider: (style: CSSStyleDeclaration) => void, decorationsStyleSheet: CSSStyleSheet);
6
- get className(): string;
7
- dispose(): void;
8
- }
9
- //# sourceMappingURL=editor-decoration-style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decoration-style.d.ts","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decoration-style.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,qBAAa,qBAAsB,YAAW,UAAU;IAGhD,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAEzB,SAAS,CAAC,qBAAqB,EAAE,aAAa;gBAFrC,QAAQ,EAAE,MAAM,EACzB,aAAa,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,EACzC,qBAAqB,EAAE,aAAa;IAQlD,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,OAAO,IAAI,IAAI;CAIlB"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.EditorDecorationStyle = void 0;
19
- const browser_1 = require("@theia/core/lib/browser");
20
- class EditorDecorationStyle {
21
- constructor(selector, styleProvider, decorationsStyleSheet) {
22
- this.selector = selector;
23
- this.decorationsStyleSheet = decorationsStyleSheet;
24
- const styleRule = browser_1.DecorationStyle.getOrCreateStyleRule(selector, decorationsStyleSheet);
25
- if (styleRule) {
26
- styleProvider(styleRule.style);
27
- }
28
- }
29
- get className() {
30
- return this.selector.split('::')[0];
31
- }
32
- dispose() {
33
- browser_1.DecorationStyle.deleteStyleRule(this.selector, this.decorationsStyleSheet);
34
- }
35
- }
36
- exports.EditorDecorationStyle = EditorDecorationStyle;
37
- //# sourceMappingURL=editor-decoration-style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decoration-style.js","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decoration-style.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAGhF,qDAA0D;AAE1D,MAAa,qBAAqB;IAE9B,YACa,QAAgB,EACzB,aAAmD,EACzC,qBAAoC;QAFrC,aAAQ,GAAR,QAAQ,CAAQ;QAEf,0BAAqB,GAArB,qBAAqB,CAAe;QAE9C,MAAM,SAAS,GAAG,yBAAe,CAAC,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,CAAC,CAAC;QACxF,IAAI,SAAS,EAAE,CAAC;YACZ,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;IAED,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,OAAO;QACH,yBAAe,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAC/E,CAAC;CAEJ;AArBD,sDAqBC"}
@@ -1,119 +0,0 @@
1
- import { Range } from '@theia/core/shared/vscode-languageserver-protocol';
2
- export interface EditorDecoration {
3
- /**
4
- * range to which this decoration instance is applied.
5
- */
6
- range: Range;
7
- /**
8
- * options to be applied with this decoration.
9
- */
10
- options: EditorDecorationOptions;
11
- }
12
- export interface EditorDecorationOptions {
13
- /**
14
- * behavior of decorations when typing/editing near their edges.
15
- */
16
- stickiness?: TrackedRangeStickiness;
17
- /**
18
- * CSS class name of this decoration.
19
- */
20
- className?: string;
21
- /**
22
- * hover message for this decoration.
23
- */
24
- hoverMessage?: string;
25
- /**
26
- * the decoration will be rendered in the glyph margin with this class name.
27
- */
28
- glyphMarginClassName?: string;
29
- /**
30
- * hover message for the glyph margin of this decoration.
31
- */
32
- glyphMarginHoverMessage?: string;
33
- /**
34
- * should the decoration be rendered for the whole line.
35
- */
36
- isWholeLine?: boolean;
37
- /**
38
- * the decoration will be rendered in the lines decorations with this class name.
39
- */
40
- linesDecorationsClassName?: string;
41
- /**
42
- * the decoration will be rendered in the margin in full width with this class name.
43
- */
44
- marginClassName?: string;
45
- /**
46
- * the decoration will be rendered inline with this class name.
47
- * to be used only to change text, otherwise use `className`.
48
- */
49
- inlineClassName?: string;
50
- /**
51
- * the decoration will be rendered before the text with this class name.
52
- */
53
- beforeContentClassName?: string;
54
- /**
55
- * the decoration will be rendered after the text with this class name.
56
- */
57
- afterContentClassName?: string;
58
- /**
59
- * render this decoration in the overview ruler.
60
- */
61
- overviewRuler?: DecorationOverviewRulerOptions;
62
- /**
63
- * If set, render this decoration in the minimap.
64
- */
65
- minimap?: DecorationMinimapOptions;
66
- blockClassName?: string;
67
- blockPadding?: [top: number, right: number, bottom: number, left: number];
68
- blockDoesNotCollapse?: boolean;
69
- /**
70
- * Indicates if this block should be rendered after the last line.
71
- * In this case, the range must be empty and set to the last line.
72
- */
73
- blockIsAfterEnd?: boolean;
74
- /**
75
- * Always render the decoration (even when the range it encompasses is collapsed).
76
- */
77
- showIfCollapsed?: boolean;
78
- }
79
- export interface DecorationOptions {
80
- /**
81
- * color of the decoration in the overview ruler.
82
- * use `rgba` values to play well with other decorations.
83
- */
84
- color: string | {
85
- id: string;
86
- } | undefined;
87
- /**
88
- * The color to use in dark themes. Will be favored over `color` except in light themes.
89
- */
90
- darkColor?: string | {
91
- id: string;
92
- };
93
- }
94
- export declare enum MinimapPosition {
95
- Inline = 1,
96
- Gutter = 2
97
- }
98
- export interface DecorationMinimapOptions extends DecorationOptions {
99
- position: MinimapPosition;
100
- }
101
- export interface DecorationOverviewRulerOptions extends DecorationOptions {
102
- /**
103
- * position in the overview ruler.
104
- */
105
- position: OverviewRulerLane;
106
- }
107
- export declare enum OverviewRulerLane {
108
- Left = 1,
109
- Center = 2,
110
- Right = 4,
111
- Full = 7
112
- }
113
- export declare enum TrackedRangeStickiness {
114
- AlwaysGrowsWhenTypingAtEdges = 0,
115
- NeverGrowsWhenTypingAtEdges = 1,
116
- GrowsOnlyWhenTypingBefore = 2,
117
- GrowsOnlyWhenTypingAfter = 3
118
- }
119
- //# sourceMappingURL=editor-decoration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decoration.d.ts","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decoration.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,MAAM,mDAAmD,CAAC;AAE1E,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAA;CACnC;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,8BAA8B,CAAC;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IAC1E,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;OAGG;IACH,KAAK,EAAE,MAAM,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAE3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACvC;AAED,oBAAY,eAAe;IACvB,MAAM,IAAI;IACV,MAAM,IAAI;CACb;AAED,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IAC/D,QAAQ,EAAE,eAAe,CAAC;CAC7B;AAED,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACrE;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAC;CAC/B;AAED,oBAAY,iBAAiB;IACzB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,KAAK,IAAI;IACT,IAAI,IAAI;CACX;AAED,oBAAY,sBAAsB;IAC9B,4BAA4B,IAAI;IAChC,2BAA2B,IAAI;IAC/B,yBAAyB,IAAI;IAC7B,wBAAwB,IAAI;CAC/B"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TrackedRangeStickiness = exports.OverviewRulerLane = exports.MinimapPosition = void 0;
19
- var MinimapPosition;
20
- (function (MinimapPosition) {
21
- MinimapPosition[MinimapPosition["Inline"] = 1] = "Inline";
22
- MinimapPosition[MinimapPosition["Gutter"] = 2] = "Gutter";
23
- })(MinimapPosition || (exports.MinimapPosition = MinimapPosition = {}));
24
- var OverviewRulerLane;
25
- (function (OverviewRulerLane) {
26
- OverviewRulerLane[OverviewRulerLane["Left"] = 1] = "Left";
27
- OverviewRulerLane[OverviewRulerLane["Center"] = 2] = "Center";
28
- OverviewRulerLane[OverviewRulerLane["Right"] = 4] = "Right";
29
- OverviewRulerLane[OverviewRulerLane["Full"] = 7] = "Full";
30
- })(OverviewRulerLane || (exports.OverviewRulerLane = OverviewRulerLane = {}));
31
- var TrackedRangeStickiness;
32
- (function (TrackedRangeStickiness) {
33
- TrackedRangeStickiness[TrackedRangeStickiness["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
34
- TrackedRangeStickiness[TrackedRangeStickiness["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
35
- TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
36
- TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
37
- })(TrackedRangeStickiness || (exports.TrackedRangeStickiness = TrackedRangeStickiness = {}));
38
- //# sourceMappingURL=editor-decoration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decoration.js","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decoration.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAiGhF,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,yDAAU,CAAA;IACV,yDAAU,CAAA;AACd,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAaD,IAAY,iBAKX;AALD,WAAY,iBAAiB;IACzB,yDAAQ,CAAA;IACR,6DAAU,CAAA;IACV,2DAAS,CAAA;IACT,yDAAQ,CAAA;AACZ,CAAC,EALW,iBAAiB,iCAAjB,iBAAiB,QAK5B;AAED,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAC9B,mHAAgC,CAAA;IAChC,iHAA+B,CAAA;IAC/B,6GAA6B,CAAA;IAC7B,2GAA4B,CAAA;AAChC,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC"}
@@ -1,7 +0,0 @@
1
- import { TextEditor } from '../editor';
2
- import { EditorDecoration } from './editor-decoration';
3
- export declare abstract class EditorDecorator {
4
- protected readonly appliedDecorations: Map<string, string[]>;
5
- protected setDecorations(editor: TextEditor, newDecorations: EditorDecoration[]): void;
6
- }
7
- //# sourceMappingURL=editor-decorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decorator.d.ts","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decorator.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,8BACsB,eAAe;IAEjC,SAAS,CAAC,QAAQ,CAAC,kBAAkB,wBAA+B;IAEpE,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,GAAG,IAAI;CAUzF"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.EditorDecorator = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- let EditorDecorator = class EditorDecorator {
22
- constructor() {
23
- this.appliedDecorations = new Map();
24
- }
25
- setDecorations(editor, newDecorations) {
26
- const uri = editor.uri.toString();
27
- const oldDecorations = this.appliedDecorations.get(uri) || [];
28
- if (oldDecorations.length === 0 && newDecorations.length === 0) {
29
- return;
30
- }
31
- const decorationIds = editor.deltaDecorations({ oldDecorations, newDecorations });
32
- this.appliedDecorations.set(uri, decorationIds);
33
- }
34
- };
35
- exports.EditorDecorator = EditorDecorator;
36
- exports.EditorDecorator = EditorDecorator = tslib_1.__decorate([
37
- (0, inversify_1.injectable)()
38
- ], EditorDecorator);
39
- //# sourceMappingURL=editor-decorator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-decorator.js","sourceRoot":"","sources":["../../../src/browser/decorations/editor-decorator.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAKnD,IAAe,eAAe,GAA9B,MAAe,eAAe;IAA9B;QAEgB,uBAAkB,GAAG,IAAI,GAAG,EAAoB,CAAC;IAYxE,CAAC;IAVa,cAAc,CAAC,MAAkB,EAAE,cAAkC;QAC3E,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QAC9D,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7D,OAAO;QACX,CAAC;QACD,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC;QAClF,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IACpD,CAAC;CAEJ,CAAA;AAdqB,0CAAe;0BAAf,eAAe;IADpC,IAAA,sBAAU,GAAE;GACS,eAAe,CAcpC"}
@@ -1,4 +0,0 @@
1
- export * from './editor-decoration';
2
- export * from './editor-decoration-style';
3
- export * from './editor-decorator';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/browser/decorations/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const tslib_1 = require("tslib");
19
- tslib_1.__exportStar(require("./editor-decoration"), exports);
20
- tslib_1.__exportStar(require("./editor-decoration-style"), exports);
21
- tslib_1.__exportStar(require("./editor-decorator"), exports);
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/browser/decorations/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,8DAAoC;AACpC,oEAA0C;AAC1C,6DAAmC"}
@@ -1,10 +0,0 @@
1
- import { TextEditor } from './editor';
2
- export interface DiffNavigator {
3
- hasNext(): boolean;
4
- hasPrevious(): boolean;
5
- next(): void;
6
- previous(): void;
7
- }
8
- export declare const DiffNavigatorProvider: unique symbol;
9
- export type DiffNavigatorProvider = (editor: TextEditor) => DiffNavigator;
10
- //# sourceMappingURL=diff-navigator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff-navigator.d.ts","sourceRoot":"","sources":["../../src/browser/diff-navigator.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,WAAW,aAAa;IAC1B,OAAO,IAAI,OAAO,CAAC;IACnB,WAAW,IAAI,OAAO,CAAC;IACvB,IAAI,IAAI,IAAI,CAAC;IACb,QAAQ,IAAI,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,eAAkC,CAAC;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,MAAM,EAAE,UAAU,KAAK,aAAa,CAAC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DiffNavigatorProvider = void 0;
19
- exports.DiffNavigatorProvider = Symbol('DiffNavigatorProvider');
20
- //# sourceMappingURL=diff-navigator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff-navigator.js","sourceRoot":"","sources":["../../src/browser/diff-navigator.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAWnE,QAAA,qBAAqB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC"}