1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-26 08:39:44 +02:00

CodeMirror dependency upgraded to v5.32.0

For handling Markdown and Code section types
This commit is contained in:
Harvey Kandola 2017-12-18 13:10:51 +00:00
parent 3337db6b27
commit 0336f84a83
351 changed files with 3408 additions and 1945 deletions

4
gui/public/codemirror/mode/verilog/verilog.js vendored Executable file → Normal file
View file

@ -81,7 +81,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
// Block openings which are closed by a matching keyword in the form of ("end" + keyword)
// E.g. "task" => "endtask"
var blockKeywords = words(
"case checker class clocking config function generate interface module package" +
"case checker class clocking config function generate interface module package " +
"primitive program property specify sequence table task"
);
@ -602,7 +602,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
var prefix = match[1];
var mnemonic = match[2];
if (// is identifier prefix
(prefix in tlvIdentifierStyle) &&
tlvIdentifierStyle.hasOwnProperty(prefix) &&
// has mnemonic or we're at the end of the line (maybe it hasn't been typed yet)
(mnemonic.length > 0 || stream.eol())) {
style = tlvIdentifierStyle[prefix];