mirror of
https://github.com/documize/community.git
synced 2025-07-27 00:59:43 +02:00
Update CodeMirror dep to v5.42.2
Affects Code and Markdown section types
This commit is contained in:
parent
c706edec47
commit
479a61a3ef
347 changed files with 21845 additions and 20770 deletions
9
gui/public/codemirror/mode/swift/test.js
vendored
9
gui/public/codemirror/mode/swift/test.js
vendored
|
@ -1,5 +1,5 @@
|
|||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
||||
|
||||
(function() {
|
||||
var mode = CodeMirror.getMode({indentUnit: 2}, "swift");
|
||||
|
@ -35,7 +35,12 @@
|
|||
// Strings and string interpolation.
|
||||
MT("strings",
|
||||
"[keyword var] [def a][punctuation :] [variable-2 String] [operator =] [string \"test\"]",
|
||||
"[keyword var] [def b][punctuation :] [variable-2 String] [operator =] [string \"\\(][variable a][string )\"]");
|
||||
"[keyword var] [def b][punctuation :] [variable-2 String] [operator =] [string \"\\(][variable a][string )\"]",
|
||||
"[keyword var] [def c] [operator =] [string \"\"\"]",
|
||||
"[string multi]",
|
||||
"[string line]",
|
||||
"[string \"test\"]",
|
||||
"[string \"\"\"]");
|
||||
|
||||
// Comments.
|
||||
MT("comments",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue