Searched refs:indentUnit (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | coffeescript.js | 213 var indentUnit = 0; 217 indentUnit = state.scopes[i].offset + conf.indentUnit; 222 indentUnit = stream.column() + stream.current().length; 225 offset: indentUnit,
|
D | python.js | 193 var indentUnit = 0; 201 indentUnit = state.scopes[i].offset + conf.indentUnit; 206 indentUnit = stream.column() + stream.current().length; 209 offset: indentUnit,
|
D | clike.js | 2 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);
|
D | javascript.js | 4 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);
|
D | xml.js | 2 var indentUnit = config.indentUnit; 318 return state.tagStart + indentUnit * multilineTagIndentFactor; 325 if (context) return context.indent + indentUnit;
|
D | css.js | 8 var indentUnit = config.indentUnit, 287 return state.baseIndent + n * indentUnit;
|
D | codemirror.js | 2732 indentation = curSpace + cm.options.indentUnit; 2734 indentation = curSpace - cm.options.indentUnit;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | CodeMirrorUtils.js | 38 var mode = CodeMirror.getMode({indentUnit: 2}, mimeType); property
|