Showing 14,752 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (localState.mode.indent) {
state.indent += localState.mode.indent(localState.state, "", "");
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(typeof state.sExprQuote == "number") state.sExprQuote++;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (modeCfg.highlightFormatting) state.formatting = "strikethrough";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (stream.match(rx_footnote_ref)) {
change(state, to_normal);
token = 'quote';
} else if (stream.match(rx_citation_ref)) {
change(state, to_normal);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (modeCfg.highlightFormatting) state.formatting = "code-block";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.peek() === ' ') { // Surrounded by spaces, ignore
return getType(state);
} else { // Not surrounded by spaces, back up pointer
stream.backUp(2);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eol()) {
change(state, to_normal);
} else {
stream.skipToEnd();
change(state, to_comment);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eatWhile(/[A-Za-z0-9+\/=]/)) {
return null;
} else {
stream.next();
return "error";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(apps.indexOf(cur) !== -1){
return "def strong";
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
switch (stage(state)) {
case 0:
change(state, to_normal, context(rx_substitution_ref, 1));
stream.match(rx_substitution_text);
token = 'variable-2';
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.localMode) state.localState = CodeMirror.startState(state.localMode);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while ((letter = stream.eat(/[^\s\(\[\;\)\]]/)) != null) {
keyWord += letter;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(isEQName && ch === '\'') while(stream.next() !== '\''){}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(cur === ',') return null;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.match(/^#b/i)) {
numTest = isBinaryNumber;
} else if (stream.match(/^#o/i)) {
numTest = isOctalNumber;
} else if (stream.match(/^#x/i)) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (numTest != null) {
if (hasRadix && !hasExactness) {
// consume optional exactness after radix
stream.match(/^#[ei]/i);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch == ")" || ch == "]") {
returnType = BRACKET;
if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : "[")) {
popStack(state);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word
pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);
} else { // non-indent word
// we continue eating the spaces
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(typeof state.sExprComment == "number") state.sExprComment++;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket