mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Adopt latest editor in samples
This commit is contained in:
parent
6328b62e22
commit
6ce435ec23
17 changed files with 2859 additions and 2643 deletions
|
|
@ -4,13 +4,11 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
|||
value: jsCode,
|
||||
language: "javascript",
|
||||
|
||||
// If `wrappingColumn` is -1, then no wrapping occurs and
|
||||
// long lines are rendered on one line. However, this might
|
||||
// mean that not all code is rendered (... may be used).
|
||||
// If `wrappingColumn` is 0, then viewport width wrapping is set
|
||||
// If `wrappingColumn` is > 0, then the lines will wrap at its value
|
||||
// Defaults to 300
|
||||
wrappingColumn: 40,
|
||||
wordWrap: 'wordWrapColumn',
|
||||
wordWrapColumn: 40,
|
||||
|
||||
// Set this to false to not auto word wrap minified files
|
||||
wordWrapMinified: true,
|
||||
|
||||
// try "same", "indent" or "none"
|
||||
wrappingIndent: "indent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue