Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
{ if (oldCur[k].marker == span.marker) { continue spans } }
- 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 (sp.to != null && sp.to != pos && nextChange > sp.to) {
nextChange = sp.to
spanEndStyle = ""
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.explicitlyCleared) {
if (!line.markedSpans) { break }
else {--i; continue}
}
- 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
Avoid deeply nested control flow statements. Open
Open
if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\d+)$/)) {
if (indexOf(newGroup, Number(m[1])) > -1) {
lst(newChanges)[prop] = change[prop]
delete change[prop]
}
- 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
if (m.className) { spanStyle += " " + m.className }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
{ if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += " " + endStyles[j$1] } } }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.css) { css = (css ? css + ";" : "") + m.css }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.title && !title) { title = m.title }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (cut$1) {
display.view = display.view.slice(0, cut$1.index)
display.viewTo = cut$1.lineN
} else {
resetView(cm)
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (dir < 0 ? m.inclusiveRight : m.inclusiveLeft)
{ near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == ";") return "semi";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.startStyle && sp.from == pos) { spanStartStyle += " " + m.startStyle }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))
{ collapsed = sp }
- 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
if (modeCfg.highlightFormatting) state.formatting = "code-block";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (sameLine) { (first || (first = [])).push(span$1) }
- Create a ticketCreate a ticket