Index: tools/turbolizer/code-view.js |
diff --git a/tools/turbolizer/code-view.js b/tools/turbolizer/code-view.js |
index aa106d3ab0f3412e64aded66db9156f61d62feeb..98554fdc016f1cb8fa243db91a7938537a187491 100644 |
--- a/tools/turbolizer/code-view.js |
+++ b/tools/turbolizer/code-view.js |
@@ -30,6 +30,7 @@ var CodeView = function(divID, PR, sourceText, sourcePosition, broker) { |
for (var span of items) { |
ranges.push([span.start, span.end, null]); |
} |
+ broker.clear(selectionHandler); |
broker.select(selectionHandler, ranges, selected); |
}, |
selectionDifference: function(span1, inclusive1, span2, inclusive2) { |