Home
last modified time | relevance | path

Searched refs:CodeMirror (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.css3 .CodeMirror {
8 .CodeMirror-scroll {
15 .CodeMirror-lines {
18 .CodeMirror pre {
22 .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
28 .CodeMirror-gutters {
33 .CodeMirror-linenumbers {}
34 .CodeMirror-linenumber {
45 .CodeMirror div.CodeMirror-cursor {
49 .CodeMirror div.CodeMirror-secondarycursor {
[all …]
Dcmdevtools.css1 .CodeMirror * {
5 .CodeMirror {
10 .CodeMirror .source-frame-eval-expression {
17 .CodeMirror .source-frame-eval-expression-end {
22 .CodeMirror .source-frame-eval-expression-start {
27 .CodeMirror-readonly .CodeMirror-cursor {
31 .CodeMirror .CodeMirror-gutters {
36 .CodeMirror .CodeMirror-linenumber {
40 .CodeMirror-linenumber {
60 .cm-breakpoint .CodeMirror-linenumber {
[all …]
Dheadlesscodemirror.js4 window.CodeMirror = {};
70 CodeMirror.StringStream = StringStream;
72 CodeMirror.startState = function (mode, a1, a2) {
76 var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};
77 CodeMirror.defineMode = function (name, mode) { modes[name] = mode; };
78 CodeMirror.defineMIME = function (mime, spec) { mimeModes[mime] = spec; };
79 CodeMirror.resolveMode = function(spec) {
88 CodeMirror.getMode = function (options, spec) {
89 spec = CodeMirror.resolveMode(spec);
94 CodeMirror.registerHelper = CodeMirror.registerGlobalHelper = Math.min;
[all …]
Dclosebrackets.js7 mod(CodeMirror);
8 })(function(CodeMirror) { argument
13 var Pos = CodeMirror.Pos;
15 CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) {
16 if (old != CodeMirror.Init && old)
40 if (cm.getOption("disableInput")) return CodeMirror.Pass;
43 if (!ranges[i].empty()) return CodeMirror.Pass;
45 if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;
57 if (cm.getOption("disableInput")) return CodeMirror.Pass;
62 return CodeMirror.Pass;
[all …]
Dhtmlembedded.js1 CodeMirror.defineMode("htmlembedded", function(config, parserConfig) {
33 scriptingMode = scriptingMode || CodeMirror.getMode(config, parserConfig.scriptingModeSpec);
34 htmlMixedMode = htmlMixedMode || CodeMirror.getMode(config, "htmlmixed");
37 htmlState : CodeMirror.startState(htmlMixedMode),
38 scriptState : CodeMirror.startState(scriptingMode)
56 htmlState : CodeMirror.copyState(htmlMixedMode, state.htmlState),
57 scriptState : CodeMirror.copyState(scriptingMode, state.scriptState)
70 CodeMirror.defineMIME("application/x-ejs", { name: "htmlembedded", scriptingModeSpec:"javascript"});
71 CodeMirror.defineMIME("application/x-aspx", { name: "htmlembedded", scriptingModeSpec:"text/x-cshar…
72 CodeMirror.defineMIME("application/x-jsp", { name: "htmlembedded", scriptingModeSpec:"text/x-java"}…
[all …]
Dhtmlmixed.js1 CodeMirror.defineMode("htmlmixed", function(config, parserConfig) {
2 var htmlMode = CodeMirror.getMode(config, {name: "xml", htmlMode: true});
3 var cssMode = CodeMirror.getMode(config, "css");
7 mode: CodeMirror.getMode(config, "javascript")});
10 …scriptTypes.push({matches: conf.matches, mode: conf.mode && CodeMirror.getMode(config, conf.mode)}…
13 mode: CodeMirror.getMode(config, "text/plain")});
Doverlay.js10 CodeMirror.overlayMode = CodeMirror.overlayParser = function(base, overlay, combine) {
14 base: CodeMirror.startState(base),
15 overlay: CodeMirror.startState(overlay),
22 base: CodeMirror.copyState(base, state.base),
23 overlay: CodeMirror.copyState(overlay, state.overlay),
Dmatchbrackets.js7 mod(CodeMirror);
8 })(function(CodeMirror) { argument
12 var Pos = CodeMirror.Pos;
97 CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
98 if (old && old != CodeMirror.Init)
106 CodeMirror.defineExtension("matchBrackets", function() {matchBrackets(this, true);});
107 CodeMirror.defineExtension("findMatchingBracket", function(pos, strict, config){
110 CodeMirror.defineExtension("scanForBracket", function(pos, dir, style, config){
Dmarkselection.js13 mod(CodeMirror);
14 })(function(CodeMirror) { argument
17 CodeMirror.defineOption("styleSelectedText", false, function(cm, val, old) {
18 var prev = old && old != CodeMirror.Init;
43 var Pos = CodeMirror.Pos;
44 var cmp = CodeMirror.cmpPos;
Dcomment.js7 mod(CodeMirror);
8 })(function(CodeMirror) { argument
13 var Pos = CodeMirror.Pos;
20 CodeMirror.commands.toggleComment = function(cm) {
38 CodeMirror.defineExtension("lineComment", function(from, to, options) {
73 CodeMirror.defineExtension("blockComment", function(from, to, options) {
106 CodeMirror.defineExtension("uncomment", function(from, to, options) {
Dclike.js1 CodeMirror.defineMode("clike", function(config, parserConfig) {
148 if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
207 for (var i = 0; i < ms.length; ++i) CodeMirror.defineMIME(ms[i], mode);
227 CodeMirror.defineMIME("text/x-java", {
243 CodeMirror.defineMIME("text/x-csharp", {
269 CodeMirror.defineMIME("text/x-scala", {
Dphp.js53 CodeMirror.defineMode("php", function(config, parserConfig) {
54 var htmlMode = CodeMirror.getMode(config, "text/html");
55 var phpMode = CodeMirror.getMode(config, phpConfig);
Dxml.js1 CodeMirror.defineMode("xml", function(config, parserConfig) {
342 CodeMirror.defineMIME("text/xml", "xml");
343 CodeMirror.defineMIME("application/xml", "xml");
344 if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
345 CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
Djavascript.js3 CodeMirror.defineMode("javascript", function(config, parserConfig) {
574 if (state.tokenize == tokenComment) return CodeMirror.Pass;
610 CodeMirror.defineMIME("text/javascript", "javascript");
611 CodeMirror.defineMIME("text/ecmascript", "javascript");
612 CodeMirror.defineMIME("application/javascript", "javascript");
613 CodeMirror.defineMIME("application/ecmascript", "javascript");
614 CodeMirror.defineMIME("application/json", {name: "javascript", json: true});
615 CodeMirror.defineMIME("application/x-json", {name: "javascript", json: true});
616 CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true });
617 CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
Dpython.js1 CodeMirror.defineMode("python", function(conf, parserConf) {
344 return state.tokenize.isString ? CodeMirror.Pass : 0;
356 CodeMirror.defineMIME("text/x-python", "python");
362 CodeMirror.defineMIME("text/x-cython", {
Dcss.js1 CodeMirror.defineMode("css", function(config, parserConfig) {
4 if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("text/css");
556 CodeMirror.defineMIME("text/css", {
591 CodeMirror.defineMIME("text/x-scss", {
/external/skia/experimental/webtry/res/css/cm/
Dcodemirror.css3 .CodeMirror {
8 .CodeMirror-scroll {
15 .CodeMirror-lines {
18 .CodeMirror pre {
22 .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
28 .CodeMirror-gutters {
33 .CodeMirror-linenumbers {}
34 .CodeMirror-linenumber {
45 .CodeMirror div.CodeMirror-cursor {
49 .CodeMirror div.CodeMirror-secondarycursor {
[all …]
/external/chromium_org/third_party/skia/experimental/webtry/res/css/cm/
Dcodemirror.css3 .CodeMirror {
8 .CodeMirror-scroll {
15 .CodeMirror-lines {
18 .CodeMirror pre {
22 .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
28 .CodeMirror-gutters {
33 .CodeMirror-linenumbers {}
34 .CodeMirror-linenumber {
45 .CodeMirror div.CodeMirror-cursor {
49 .CodeMirror div.CodeMirror-secondarycursor {
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Dexterns.js324 var CodeMirror = function(element, config) { } class
325 CodeMirror.on = function(obj, type, handler) { }
326 CodeMirror.prototype = {
452 CodeMirror.prototype.display;
454 CodeMirror.Pass;
455 CodeMirror.showHint = function(codeMirror, hintintFunction) { };
456 CodeMirror.commands = {};
457 CodeMirror.modes = {};
458 CodeMirror.mimeModes = {};
459 CodeMirror.getMode = function(options, spec) { };
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
DCodeMirrorUtils.js47 start: new CodeMirror.Pos(range.startLine, range.startColumn),
48 end: new CodeMirror.Pos(range.endLine, range.endColumn)
86 var codeMirror = new window.CodeMirror(element, {
142 var mode = CodeMirror.getMode({indentUnit: 2}, mimeType);
143 var state = CodeMirror.startState(mode);
146 var stream = new CodeMirror.StringStream(line);
DCodeMirrorTextEditor.js47 this._codeMirror = new window.CodeMirror(this.element, {
57 CodeMirror.keyMap["devtools-common"] = { variable
75 CodeMirror.keyMap["devtools-pc"] = { variable
96 CodeMirror.keyMap["devtools-mac"] = { variable
182 CodeMirror.commands.autocomplete = WebInspector.CodeMirrorTextEditor.autocompleteCommand;
191 CodeMirror.commands.undoLastSelection = WebInspector.CodeMirrorTextEditor.undoLastSelectionCommand;
200 CodeMirror.commands.selectNextOccurrence = WebInspector.CodeMirrorTextEditor.selectNextOccurrenceCo…
205 CodeMirror.commands.smartNewlineAndIndent = function(codeMirror)
225 codeMirror.setSelection(new CodeMirror.Pos(cur.line + 1, cur.ch));
231 CodeMirror.commands.undoAndReveal = function(codemirror)
[all …]
/external/chromium_org/third_party/skia/experimental/webtry/res/css/
Dwebtry.css120 .CodeMirror-lines,
121 .CodeMirror-scroll
126 .CodeMirror {
/external/skia/experimental/webtry/res/css/
Dwebtry.css120 .CodeMirror-lines,
121 .CodeMirror-scroll
126 .CodeMirror {
/external/skia/experimental/webtry/res/js/cm/
Dclike.js7 mod(CodeMirror);
8 })(function(CodeMirror) { argument
11 CodeMirror.defineMode("clike", function(config, parserConfig) {
158 if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
264 CodeMirror.registerHelper("hintWords", mimes[0], words);
268 CodeMirror.defineMIME(mimes[i], mode);
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dclike.js7 mod(CodeMirror);
8 })(function(CodeMirror) { argument
11 CodeMirror.defineMode("clike", function(config, parserConfig) {
158 if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
264 CodeMirror.registerHelper("hintWords", mimes[0], words);
268 CodeMirror.defineMIME(mimes[i], mode);

12