@theia/editor 1.53.0-next.4 → 1.53.0-next.55

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 (48) hide show
  1. package/README.md +30 -30
  2. package/lib/browser/editor-manager.d.ts.map +1 -1
  3. package/lib/browser/editor-manager.js +11 -4
  4. package/lib/browser/editor-manager.js.map +1 -1
  5. package/lib/browser/editor-variable-contribution.d.ts.map +1 -1
  6. package/lib/browser/editor-variable-contribution.js +9 -1
  7. package/lib/browser/editor-variable-contribution.js.map +1 -1
  8. package/lib/browser/editor.d.ts +5 -2
  9. package/lib/browser/editor.d.ts.map +1 -1
  10. package/lib/browser/editor.js.map +1 -1
  11. package/lib/browser/navigation/navigation-location-service.js +3 -3
  12. package/package.json +5 -5
  13. package/src/browser/decorations/editor-decoration-style.ts +41 -41
  14. package/src/browser/decorations/editor-decoration.ts +127 -127
  15. package/src/browser/decorations/editor-decorator.ts +36 -36
  16. package/src/browser/decorations/index.ts +19 -19
  17. package/src/browser/diff-navigator.ts +27 -27
  18. package/src/browser/editor-command.ts +393 -393
  19. package/src/browser/editor-contribution.ts +185 -185
  20. package/src/browser/editor-frontend-module.ts +90 -90
  21. package/src/browser/editor-generated-preference-schema.ts +2956 -2956
  22. package/src/browser/editor-keybinding.ts +55 -55
  23. package/src/browser/editor-language-quick-pick-service.ts +68 -68
  24. package/src/browser/editor-linenumber-contribution.ts +88 -88
  25. package/src/browser/editor-manager.ts +462 -452
  26. package/src/browser/editor-menu.ts +224 -224
  27. package/src/browser/editor-navigation-contribution.ts +343 -343
  28. package/src/browser/editor-preferences.ts +226 -226
  29. package/src/browser/editor-variable-contribution.ts +62 -54
  30. package/src/browser/editor-widget-factory.ts +82 -82
  31. package/src/browser/editor-widget.ts +139 -139
  32. package/src/browser/editor.ts +366 -362
  33. package/src/browser/index.ts +26 -26
  34. package/src/browser/language-status/editor-language-status-service.ts +271 -271
  35. package/src/browser/language-status/editor-language-status.css +101 -101
  36. package/src/browser/navigation/navigation-location-service.spec.ts +245 -245
  37. package/src/browser/navigation/navigation-location-service.ts +284 -284
  38. package/src/browser/navigation/navigation-location-similarity.spec.ts +46 -46
  39. package/src/browser/navigation/navigation-location-similarity.ts +58 -58
  40. package/src/browser/navigation/navigation-location-updater.spec.ts +197 -197
  41. package/src/browser/navigation/navigation-location-updater.ts +220 -220
  42. package/src/browser/navigation/navigation-location.ts +418 -418
  43. package/src/browser/navigation/test/mock-navigation-location-updater.ts +41 -41
  44. package/src/browser/quick-editor-service.ts +94 -94
  45. package/src/browser/style/index.css +19 -19
  46. package/src/browser/undo-redo-service.ts +120 -120
  47. package/src/common/language-selector.ts +104 -104
  48. package/src/package.spec.ts +28 -28
@@ -1,101 +1,101 @@
1
- /********************************************************************************
2
- * Copyright (C) 2022 Ericsson 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
- /* Copied from https://github.com/microsoft/vscode/blob/7d9b1c37f8e5ae3772782ba3b09d827eb3fdd833/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css */
18
-
19
- .hover-language-status {
20
- display: flex;
21
- padding: 4px 8px;
22
- }
23
-
24
- .hover-language-status:not(:last-child) {
25
- border-bottom: 1px solid var(--theia-notifications-border);
26
- }
27
-
28
- .hover-language-status > .severity {
29
- padding-right: 8px;
30
- flex: 1;
31
- margin: auto;
32
- display: none;
33
- }
34
-
35
- .hover-language-status > .severity.sev3 {
36
- color: var(--theia-notificationsErrorIcon-foreground);
37
- }
38
-
39
- .hover-language-status > .severity.sev2 {
40
- color: var(--theia-notificationsInfoIcon-foreground);
41
- }
42
-
43
- .hover-language-status > .severity.show {
44
- display: inherit;
45
- }
46
-
47
- .hover-language-status > .element {
48
- display: flex;
49
- justify-content: space-between;
50
- vertical-align: middle;
51
- flex-grow: 100;
52
- }
53
-
54
- .hover-language-status > .element > .left > .detail:not(:empty)::before {
55
- /* en-dash */
56
- content: "–";
57
- padding: 0 4px;
58
- opacity: 0.6;
59
- }
60
-
61
- .hover-language-status > .element > .left > .label:empty {
62
- display: none;
63
- }
64
-
65
- .hover-language-status > .element .left {
66
- margin: auto 0;
67
- }
68
-
69
- .hover-language-status > .element .right {
70
- margin: auto 0;
71
- display: flex;
72
- }
73
-
74
- .hover-language-status > .element .right:not(:empty) {
75
- padding-left: 16px;
76
- }
77
-
78
- .hover-language-status > .element .right .language-status-link {
79
- margin: auto 0;
80
- white-space: nowrap;
81
-
82
- /* ADDED STYLES - NOT FROM VSCODE */
83
- text-decoration: none;
84
- }
85
-
86
- /* ADDED STYLES - NOT FROM VSCODE */
87
- .hover-language-status > .element .right .language-status-link:hover {
88
- color: var(--theia-textLink-foreground);
89
- }
90
-
91
- .hover-language-status
92
- > .element
93
- .right
94
- .language-status-action-bar:not(:first-child) {
95
- padding-left: 8px;
96
- }
97
-
98
- /* ADDED STYLES - NOT FROM VSCODE */
99
- .hover-language-status > .element .right .language-status-action-bar a {
100
- color: var(--theia-editorHoverWidget-foreground);
101
- }
1
+ /********************************************************************************
2
+ * Copyright (C) 2022 Ericsson 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
+ /* Copied from https://github.com/microsoft/vscode/blob/7d9b1c37f8e5ae3772782ba3b09d827eb3fdd833/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css */
18
+
19
+ .hover-language-status {
20
+ display: flex;
21
+ padding: 4px 8px;
22
+ }
23
+
24
+ .hover-language-status:not(:last-child) {
25
+ border-bottom: 1px solid var(--theia-notifications-border);
26
+ }
27
+
28
+ .hover-language-status > .severity {
29
+ padding-right: 8px;
30
+ flex: 1;
31
+ margin: auto;
32
+ display: none;
33
+ }
34
+
35
+ .hover-language-status > .severity.sev3 {
36
+ color: var(--theia-notificationsErrorIcon-foreground);
37
+ }
38
+
39
+ .hover-language-status > .severity.sev2 {
40
+ color: var(--theia-notificationsInfoIcon-foreground);
41
+ }
42
+
43
+ .hover-language-status > .severity.show {
44
+ display: inherit;
45
+ }
46
+
47
+ .hover-language-status > .element {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ vertical-align: middle;
51
+ flex-grow: 100;
52
+ }
53
+
54
+ .hover-language-status > .element > .left > .detail:not(:empty)::before {
55
+ /* en-dash */
56
+ content: "–";
57
+ padding: 0 4px;
58
+ opacity: 0.6;
59
+ }
60
+
61
+ .hover-language-status > .element > .left > .label:empty {
62
+ display: none;
63
+ }
64
+
65
+ .hover-language-status > .element .left {
66
+ margin: auto 0;
67
+ }
68
+
69
+ .hover-language-status > .element .right {
70
+ margin: auto 0;
71
+ display: flex;
72
+ }
73
+
74
+ .hover-language-status > .element .right:not(:empty) {
75
+ padding-left: 16px;
76
+ }
77
+
78
+ .hover-language-status > .element .right .language-status-link {
79
+ margin: auto 0;
80
+ white-space: nowrap;
81
+
82
+ /* ADDED STYLES - NOT FROM VSCODE */
83
+ text-decoration: none;
84
+ }
85
+
86
+ /* ADDED STYLES - NOT FROM VSCODE */
87
+ .hover-language-status > .element .right .language-status-link:hover {
88
+ color: var(--theia-textLink-foreground);
89
+ }
90
+
91
+ .hover-language-status
92
+ > .element
93
+ .right
94
+ .language-status-action-bar:not(:first-child) {
95
+ padding-left: 8px;
96
+ }
97
+
98
+ /* ADDED STYLES - NOT FROM VSCODE */
99
+ .hover-language-status > .element .right .language-status-action-bar a {
100
+ color: var(--theia-editorHoverWidget-foreground);
101
+ }