mirror of
https://github.com/documize/community.git
synced 2025-08-04 04:55:23 +02:00
upgraded libs and improved Markdown editing experience
This commit is contained in:
parent
2e146cf767
commit
ea1a8000ee
165 changed files with 15930 additions and 19013 deletions
2
app/public/codemirror/mode/groovy/groovy.js
vendored
2
app/public/codemirror/mode/groovy/groovy.js
vendored
|
@ -210,7 +210,7 @@ CodeMirror.defineMode("groovy", function(config) {
|
|||
},
|
||||
|
||||
indent: function(state, textAfter) {
|
||||
if (!state.tokenize[state.tokenize.length-1].isBase) return 0;
|
||||
if (!state.tokenize[state.tokenize.length-1].isBase) return CodeMirror.Pass;
|
||||
var firstChar = textAfter && textAfter.charAt(0), ctx = state.context;
|
||||
if (ctx.type == "statement" && !expectExpression(state.lastToken, true)) ctx = ctx.prev;
|
||||
var closing = firstChar == ctx.type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue