Home | History | Annotate | Download | only in cm

Lines Matching refs:indented

194   function JSLexical(indented, column, type, align, prev, info) {
195 this.indented = indented;
274 var state = cx.state, indent = state.indented;
275 if (state.lexical.type == "stat") indent = state.lexical.indented;
285 state.indented = state.lexical.indented;
553 indented: 0
563 state.indented = stream.indentation();
588 if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0);
589 else if (type == "form" && firstChar == "{") return lexical.indented;
590 else if (type == "form") return lexical.indented + indentUnit;
592 return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? statementIndent || indentUnit : 0);
594 return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit);
596 else return lexical.indented + (closing ? 0 : indentUnit);