mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 19:47:03 -04:00
Update CodeMirror to 5.13.5
This commit is contained in:
parent
edc3a31dfd
commit
8bf516263c
84 changed files with 2837 additions and 504 deletions
|
@ -112,7 +112,7 @@ endclass
|
|||
Syntax highlighting and indentation for the Verilog and SystemVerilog languages (IEEE 1800).
|
||||
<h2>Configuration options:</h2>
|
||||
<ul>
|
||||
<li><strong>noIndentKeywords</strong> - List of keywords which should not cause identation to increase. E.g. ["package", "module"]. Default: None</li>
|
||||
<li><strong>noIndentKeywords</strong> - List of keywords which should not cause indentation to increase. E.g. ["package", "module"]. Default: None</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@
|
|||
""
|
||||
);
|
||||
|
||||
MT("covergoup_with_function_indents_properly",
|
||||
MT("covergroup_with_function_indents_properly",
|
||||
"[keyword covergroup] [variable cg] [keyword with] [keyword function] [variable sample][bracket (][keyword bit] [variable b][bracket )];",
|
||||
" [variable c] : [keyword coverpoint] [variable c];",
|
||||
"[keyword endgroup]: [variable cg]",
|
||||
|
|
|
@ -250,7 +250,7 @@ CodeMirror.defineMode("verilog", function(config, parserConfig) {
|
|||
if (text == contextClosing) {
|
||||
return true;
|
||||
} else {
|
||||
// contextClosing may be mulitple keywords separated by ;
|
||||
// contextClosing may be multiple keywords separated by ;
|
||||
var closingKeywords = contextClosing.split(";");
|
||||
for (var i in closingKeywords) {
|
||||
if (text == closingKeywords[i]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue