mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
CodeMirror dependency upgraded to v5.32.0
For handling Markdown and Code section types
This commit is contained in:
parent
3337db6b27
commit
0336f84a83
351 changed files with 3408 additions and 1945 deletions
0
gui/public/codemirror/mode/yacas/index.html
vendored
Executable file → Normal file
0
gui/public/codemirror/mode/yacas/index.html
vendored
Executable file → Normal file
2
gui/public/codemirror/mode/yacas/yacas.js
vendored
Executable file → Normal file
2
gui/public/codemirror/mode/yacas/yacas.js
vendored
Executable file → Normal file
|
@ -125,7 +125,7 @@ CodeMirror.defineMode('yacas', function(_config, _parserConfig) {
|
|||
}
|
||||
|
||||
// operators; note that operators like @@ or /; are matched separately for each symbol.
|
||||
if (stream.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/, true, false)) {
|
||||
if (stream.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/, true, false)) {
|
||||
return 'operator';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue