Commit ca87578
committed
update @theia/monaco-editor-core to 1.108.201 and adapt to API changes
Resolves GH-16401
- Bump @theia/monaco-editor-core from 1.96.302 to 1.108.201
- Replace editor.experimental.preferTreeSitter array preference with
per-language boolean preferences (css, typescript, ini, regex)
- Update MonacoContextMenuService to expose onDidShowContextMenu and
onDidHideContextMenu as property initializers matching the updated
IContextMenuService interface
- Add onDidShowContextMenu/onDidHideContextMenu Event.None stubs to
the inline IContextMenuService override in createInline(), fixing
ContentHoverController crash
- Fix focus/blur for Monaco 1.108 EditContext API by querying
.native-edit-context before falling back to textarea
- Add stageForPreview/unstagePreview to MonacoEditor and EditorWidget
so visual tab previews render correctly when editors are hidden
(model is set to null)
- Add MonacoLayoutService override so Monaco UI elements position
relative to the Theia application shell
- Add MonacoWorkspaceContextService override
- Display Monaco editor version in About dialog
- Remove the focus/blur workaround that manually targeted the textarea
or native-edit-context element, this.editor.focus() works correctly
with modern Monaco
- Remove the now-unused blur() method from TextEditor interface and
MonacoEditor
- Add console.warn when StandaloneServices overrides had to be
patched in after premature initialization, and console.error when
services were already instantiated and cannot be overridden
Contributed on behalf of STMicroelectronics1 parent fc78051 commit ca87578
File tree
62 files changed
+583
-269
lines changed- dev-packages/application-manager/src/generator
- examples/api-samples
- packages
- ai-chat-ui
- src/browser
- chat-response-renderer
- ai-chat
- ai-claude-code
- ai-code-completion
- src/browser
- ai-codex
- ai-core
- ai-editor
- ai-scanoss
- bulk-edit
- collaboration
- console
- core
- src
- browser/markdown-rendering
- common
- debug
- src/browser
- disassembly-view
- editor
- editor/src
- browser
- common
- keymaps
- monaco
- src/browser
- markdown-renderer
- style
- notebook
- src/browser
- service
- view
- output
- plugin-ext-vscode
- plugin-ext
- src
- common
- main/browser
- plugin
- plugin-metrics
- preferences
- scm
- task
- toolbar
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+583
-269
lines changedLines changed: 45 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
224 | 232 | | |
225 | 233 | | |
226 | 234 | | |
| |||
237 | 245 | | |
238 | 246 | | |
239 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
240 | 275 | | |
241 | 276 | | |
242 | 277 | | |
| |||
282 | 317 | | |
283 | 318 | | |
284 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
285 | 329 | | |
286 | 330 | | |
287 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | | - | |
| 1350 | + | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments