Home
last modified time | relevance | path

Searched refs:indentUnit (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcoffeescript.js213 var indentUnit = 0;
217 indentUnit = state.scopes[i].offset + conf.indentUnit;
222 indentUnit = stream.column() + stream.current().length;
225 offset: indentUnit,
Dpython.js193 var indentUnit = 0;
201 indentUnit = state.scopes[i].offset + conf.indentUnit;
206 indentUnit = stream.column() + stream.current().length;
209 offset: indentUnit,
Dclike.js2 var indentUnit = config.indentUnit,
3 statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,
112 context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
155 else return ctx.indented + (closing ? 0 : indentUnit);
Djavascript.js4 var indentUnit = config.indentUnit;
412 lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false),
446 else if (type == "form") return lexical.indented + indentUnit;
448 …return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? indentUnit : 0);
450 … return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit);
452 else return lexical.indented + (closing ? 0 : indentUnit);
Dxml.js2 var indentUnit = config.indentUnit;
318 return state.tagStart + indentUnit * multilineTagIndentFactor;
325 if (context) return context.indent + indentUnit;
Dcss.js8 var indentUnit = config.indentUnit,
287 return state.baseIndent + n * indentUnit;
Dcodemirror.js2732 indentation = curSpace + cm.options.indentUnit;
2734 indentation = curSpace - cm.options.indentUnit;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCodeMirrorUtils.js38 var mode = CodeMirror.getMode({indentUnit: 2}, mimeType); property