Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Side by Side Diff: Source/devtools/front_end/externs.js

Issue 219583002: DevTools: [CodeMirror] Implement "select next occurrence" functionality (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: do not use tokenHighlighter with multiple selections Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/CodeMirrorTextEditor.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 scrollIntoView: function(pos, margin) { }, 393 scrollIntoView: function(pos, margin) { },
394 scrollTo: function(x, y) { }, 394 scrollTo: function(x, y) { },
395 setBookmark: function(pos, options) { }, 395 setBookmark: function(pos, options) { },
396 setCursor: function(line, ch, extend) { }, 396 setCursor: function(line, ch, extend) { },
397 setExtending: function(val) { }, 397 setExtending: function(val) { },
398 setGutterMarker: function(line, gutterID, value) { }, 398 setGutterMarker: function(line, gutterID, value) { },
399 setHistory: function(histData) { }, 399 setHistory: function(histData) { },
400 setLine: function(line, text) { }, 400 setLine: function(line, text) { },
401 setOption: function(option, value) { }, 401 setOption: function(option, value) { },
402 setSelection: function(anchor, head) { }, 402 setSelection: function(anchor, head) { },
403 setSelections: function(selections) { },
403 setSize: function(width, height) { }, 404 setSize: function(width, height) { },
404 setValue: function(code) { }, 405 setValue: function(code) { },
405 somethingSelected: function() { }, 406 somethingSelected: function() { },
406 swapDoc: function(doc) { }, 407 swapDoc: function(doc) { },
407 undo: function() { }, 408 undo: function() { },
408 unlinkDoc: function(other) { } 409 unlinkDoc: function(other) { }
409 } 410 }
410 /** @type {number} */
411 CodeMirror.prototype.lineCount;
412 /** @type {!{cursorDiv: Element}} */ 411 /** @type {!{cursorDiv: Element}} */
413 CodeMirror.prototype.display; 412 CodeMirror.prototype.display;
414 CodeMirror.Pass; 413 CodeMirror.Pass;
415 CodeMirror.showHint = function(codeMirror, hintintFunction) { }; 414 CodeMirror.showHint = function(codeMirror, hintintFunction) { };
416 CodeMirror.commands = {}; 415 CodeMirror.commands = {};
417 CodeMirror.modes = {}; 416 CodeMirror.modes = {};
418 CodeMirror.mimeModes = {}; 417 CodeMirror.mimeModes = {};
419 CodeMirror.getMode = function(options, spec) { }; 418 CodeMirror.getMode = function(options, spec) { };
420 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { }; 419 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { };
421 CodeMirror.defineMode = function(modeName, modeConstructor) { }; 420 CodeMirror.defineMode = function(modeName, modeConstructor) { };
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 } 456 }
458 457
459 /** @type {Object.<string, !Object.<string, string>>} */ 458 /** @type {Object.<string, !Object.<string, string>>} */
460 CodeMirror.keyMap; 459 CodeMirror.keyMap;
461 460
462 /** @type {{scrollLeft: number, scrollTop: number}} */ 461 /** @type {{scrollLeft: number, scrollTop: number}} */
463 CodeMirror.doc; 462 CodeMirror.doc;
464 463
465 /** @type {boolean} */ 464 /** @type {boolean} */
466 window.dispatchStandaloneTestRunnerMessages; 465 window.dispatchStandaloneTestRunnerMessages;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CodeMirrorTextEditor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698