Steve-Mcl
4d84926ed2
Update monaco for Predefined Environment Variables
...
- add Predefined Environment Variables to snippet suggestions
- update jsdoc for `env.get`
2022-02-14 13:38:37 +00:00
Nick O'Leary
893ef227d4
Merge pull request #3084 from Steve-Mcl/theme-monaco-theme
...
Permit plugin theme to theme monaco editor
2021-10-05 10:42:08 +01:00
Nick O'Leary
da210e2ae4
Ignore top-level await errs in monaco
...
Fixes #3138
2021-09-29 17:19:12 +01:00
Steve-Mcl
5825da9c76
Merge branch 'dev' into theme-monaco-theme
2021-09-21 14:06:54 +01:00
Nick O'Leary
27ed81614b
Remove default ctrl-enter keybinding from monaco editor
...
Fixes #3093
2021-07-30 11:50:21 +01:00
Steve-Mcl
8a1d81989b
use codeEditor.options.theme
2021-07-26 21:02:11 +01:00
Steve-Mcl
d7a2fc2be4
use them plugin theme `monacoTheme` if present
2021-07-25 15:16:49 +01:00
Nick O'Leary
56df8d8bd3
Merge pull request #3031 from Steve-Mcl/monaco0252
...
Update Monaco Editor to V0.25.2 (latest)
2021-06-28 15:28:09 +01:00
Steve-Mcl
04d91d1422
prevent promise rejection when loading editor
2021-06-24 11:28:39 +01:00
Steve-Mcl
db90e1f801
remove unnecessary global uncaught promise handler
...
- monaco issue https://github.com/microsoft/monaco-editor/issues/2382
2021-06-24 11:27:24 +01:00
Steve-Mcl
0a8f7085f3
allow static private field to have initializer
2021-06-17 08:44:44 +01:00
Steve-Mcl
c908502644
add 2 ace compatible functions
...
- clearSelection - blocky node
- selectAll - obvious addition
2021-06-16 22:36:00 +01:00
Steve-Mcl
1a73a27102
add diagnosticCodesToIgnore 2345
...
- handles issue with Intl.DateTimeFormat when `options` is a variable
2021-06-15 23:15:54 +01:00
Steve-Mcl
a9cf34ab56
prevent IE script error
...
- even though monaco does not work in EI, scripts must not fail to load
2021-06-15 21:02:30 +01:00
Steve-Mcl
46d17c3314
update code comments
2021-06-15 21:01:33 +01:00
Steve-Mcl
7d24e5b279
node.status snippet enums for fill and shape
2021-06-11 08:01:38 +01:00
Steve-Mcl
12253e23b5
Add setReadOnly support
2021-06-10 21:18:29 +01:00
Steve-Mcl
db676ec223
add snippet for env.get
2021-06-05 12:34:47 +01:00
Steve-Mcl
1acb073737
add support for explicit calls to ace.setFontSize
...
- found node-red-contrib-ui-svg explicitly calling ace function
2021-05-04 10:34:29 +01:00
Steve-Mcl
22db24509d
Ensure monaco exists before attempting cleanup
2021-05-04 09:03:35 +01:00
Steve-Mcl
ffbd140a97
bug fix orphaned models and graphical tray glitch
...
- ensure models are disposed correctly
- clean up any orphaned models left after editor:close
- improve concurrent multiple instances javascript models
- fix graphical glitch
2021-05-03 16:19:01 +01:00
Steve-Mcl
dedf5c52d9
better support for multiple editors
...
- as the javascript model is singleton, need to disable
syntax checking when editor not focused
(support multiple instances of js editor (function node))
2021-05-02 23:11:29 +01:00
Steve-Mcl
10465c5d68
treat appcache files as shell (uibuilder support)
2021-05-02 23:00:35 +01:00
Steve-Mcl
a72bdfdacc
Handle known bug (monaco-editor issue No 2382)
...
- handles "Uncaught (in promise) Canceled: Canceled"
2021-05-01 11:40:43 +01:00
Steve-Mcl
dc3e04456c
remove temporary debugging window variable
2021-05-01 11:01:04 +01:00
Steve-Mcl
58da87898e
integrate monaco
...
- refactors createEditor out to own code files
- moves ace editor to own code file
- adds monaco editor to own code file
- add monaco bootstrap
- update mst to include monaco asset
- update grunt to include new files and integrate
2021-04-29 17:58:41 +01:00