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

Unified Diff: LayoutTests/inspector/editor/highlighter-test.js

Issue 22638008: DevTools: Use CodeMirror modes instead of highlight tokenizers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/editor/highlighter-test.js
diff --git a/LayoutTests/inspector/editor/highlighter-test.js b/LayoutTests/inspector/editor/highlighter-test.js
deleted file mode 100644
index bef2dfb1f9653a6e5616053beefd160c7dc46fe9..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/editor/highlighter-test.js
+++ /dev/null
@@ -1,23 +0,0 @@
-function initialize_HighlighterTests()
-{
-
-InspectorTest.dumpTextModel = function(textModel)
-{
- var lines = [];
- for (var i = 0; i < textModel.linesCount; ++i) {
- var line = textModel.line(i);
- var highlight = textModel.getAttribute(i, "highlight");
- var result = (i + 1) + " : " + line + " :";
- if (highlight) {
- for (var j = 0; j < highlight.ranges.length; ++j) {
- var range = highlight.ranges[j];
- result += " " + range.token + "[" + range.startColumn + "-" + (range.endColumn + 1) + "]";
- }
- } else
- result += " null";
- lines.push(result);
- }
- InspectorTest.addResult(lines.join("\n"));
-};
-
-}

Powered by Google App Engine
This is Rietveld 408576698