HomeSort by relevance Sort by last modified time
    Searched refs:CodeMirror (Results 1 - 14 of 14) sorted by null

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
codemirror.css 3 .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 {
43 .CodeMirror div.CodeMirror-cursor
    [all...]
closebrackets.js 6 CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) {
7 if (old != CodeMirror.Init && old)
22 var str = cm.getRange(CodeMirror.Pos(pos.line, pos.ch - 1),
23 CodeMirror.Pos(pos.line, pos.ch + 1));
31 if (cm.somethingSelected()) return CodeMirror.Pass;
34 cm.replaceRange("", CodeMirror.Pos(cur.line, cur.ch - 1), CodeMirror.Pos(cur.line, cur.ch + 1));
36 return CodeMirror.Pass;
47 var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1));
48 if (ahead != right || cm.somethingSelected()) return CodeMirror.Pass
    [all...]
headlesscodemirror.js 2 window.CodeMirror = {};
59 CodeMirror.StringStream = StringStream;
61 CodeMirror.startState = function (mode, a1, a2) {
65 var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};
66 CodeMirror.defineMode = function (name, mode) { modes[name] = mode; };
67 CodeMirror.defineMIME = function (mime, spec) { mimeModes[mime] = spec; };
68 CodeMirror.defineMode("null", function() {
71 CodeMirror.defineMIME("text/plain", "null");
72 CodeMirror.getMode = function (options, spec)
    [all...]
matchbrackets.js 5 var Pos = CodeMirror.Pos;
52 var style = found.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket";
73 CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
74 if (old && old != CodeMirror.Init)
82 CodeMirror.defineExtension("matchBrackets", function() {matchBrackets(this, true);});
83 CodeMirror.defineExtension("findMatchingBracket", function(pos, strict){
markselection.js 5 // "CodeMirror-selectedtext" when the value is not a string.
10 CodeMirror.defineOption("styleSelectedText", false, function(cm, val, old) {
11 var prev = old && old != CodeMirror.Init;
14 cm.state.markedSelectionStyle = typeof val == "string" ? val : "CodeMirror-selectedtext";
36 var Pos = CodeMirror.Pos;
comment.js 6 var Pos = CodeMirror.Pos;
13 CodeMirror.commands.toggleComment = function(cm) {
18 CodeMirror.defineExtension("lineComment", function(from, to, options) {
53 CodeMirror.defineExtension("blockComment", function(from, to, options) {
86 CodeMirror.defineExtension("uncomment", function(from, to, options) {
php.js 53 CodeMirror.defineMode("php", function(config, parserConfig) {
54 var htmlMode = CodeMirror.getMode(config, "text/html");
55 var phpMode = CodeMirror.getMode(config, phpConfig);
94 var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
129 CodeMirror.defineMIME("application/x-httpd-php", "php");
130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
131 CodeMirror.defineMIME("text/x-php", phpConfig)
    [all...]
coffeescript.js 3 * https://github.com/pickhardt/coffeescript-codemirror-mode
5 CodeMirror.defineMode('coffeescript', function(conf) {
347 CodeMirror.defineMIME('text/x-coffeescript', 'coffeescript');
clike.js 0 CodeMirror.defineMode("clike", function(config, parserConfig) {
148 if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;
206 for (var i = 0; i < ms.length; ++i) CodeMirror.defineMIME(ms[i], mode);
226 CodeMirror.defineMIME("text/x-java", {
242 CodeMirror.defineMIME("text/x-csharp", {
268 CodeMirror.defineMIME("text/x-scala", {
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
CodeMirrorUtils.js 38 var mode = CodeMirror.getMode({indentUnit: 2}, mimeType);
39 var state = CodeMirror.startState(mode);
42 var stream = new CodeMirror.StringStream(line);
76 if (CodeMirror.modes[oldModeName])
79 CodeMirror.defineMode(oldModeName, CodeMirror.modes[modeName]);
80 CodeMirror.defineMode(modeName, modeConstructor);
88 var codeMirrorMode = CodeMirror.getMode(config, innerConfig);
externs.js 434 var CodeMirror = function() { }
435 CodeMirror.on = function(obj, type, handler) { }
436 CodeMirror.prototype = {
542 CodeMirror.prototype.lineCount;
543 CodeMirror.Pass;
544 CodeMirror.showHint = function(codeMirror, hintintFunction) { };
545 CodeMirror.commands = {};
546 CodeMirror.modes = {};
547 CodeMirror.mimeModes = {}
    [all...]
CodeMirrorTextEditor.js 31 importScript("cm/codemirror.js");
64 this.registerRequiredCSS("cm/codemirror.css");
67 this._codeMirror = window.CodeMirror(this.element, {
69 gutters: ["CodeMirror-linenumbers"],
77 CodeMirror.keyMap["devtools-common"] = {
94 CodeMirror.keyMap["devtools-pc"] = {
113 CodeMirror.keyMap["devtools-mac"] = {
176 WebInspector.CodeMirrorTextEditor.autocompleteCommand = function(codeMirror)
178 codeMirror._codeMirrorTextEditor._autocompleteController.autocomplete();
180 CodeMirror.commands.autocomplete = WebInspector.CodeMirrorTextEditor.autocompleteCommand
    [all...]
elementsPanel.css 66 #elements-content .CodeMirror {
73 #elements-content .CodeMirror pre {
77 #elements-content .CodeMirror-lines {
UIUtils.js 539 * @return {?{cancel: function(), commit: function(), codeMirror: !CodeMirror, setWidth: function(number)}}
555 var codeMirror;
572 codeMirror = window.CodeMirror(element, {
580 codeMirror.getWrapperElement().classList.add("source-code");
581 codeMirror.on("cursorActivity", function(cm) {
599 codeMirror.getWrapperElement().style.width = (width - codeMirror.getWrapperElement().offsetLeft - padding) + "px";
600 codeMirror.refresh()
    [all...]

Completed in 159 milliseconds