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

Unified Diff: runtime/observatory/lib/src/elements/script_inset.dart

Issue 974153002: Restore highlighting for current position. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/script_inset.dart
diff --git a/runtime/observatory/lib/src/elements/script_inset.dart b/runtime/observatory/lib/src/elements/script_inset.dart
index 124697464f8cf859ccc140afdeadbdadb1f896b6..cc4787a665eb6897fa9b5eca5f7ae0d5ce2159d0 100644
--- a/runtime/observatory/lib/src/elements/script_inset.dart
+++ b/runtime/observatory/lib/src/elements/script_inset.dart
@@ -19,8 +19,7 @@ class Annotation {
String title;
void applyStyleTo(element) {
- element.style.color = "blue";
- element.style.textDecoration = "underline";
+ element.classes.add("currentCol");
element.title = title;
}
}
@@ -243,7 +242,7 @@ class ScriptInsetElement extends ObservatoryElement {
if (line != null) {
if (line.line == currentLine) {
- e.classes.add("sourceItemCurrent");
+ e.classes.add("currentLine");
}
e.id = makeLineId(line.line);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698