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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java

Issue 994733002: Issue 22465. Mark occurrences only if there are no pending changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java
index c8414852cd3bdff562ce047e42134b77ee426771..f2c518ef370f2a44c7477b0d100d7892f298bad6 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/DartEditor.java
@@ -3403,7 +3403,10 @@ public abstract class DartEditor extends AbstractDecoratedTextEditor implements
protected void installOccurrencesFinder(boolean forceUpdate) {
DartSourceViewer viewer = (DartSourceViewer) getSourceViewer();
if (DartCoreDebug.ENABLE_ANALYSIS_SERVER) {
- occurrencesManager_NEW = new MarkOccurrencesManager_NEW(this, viewer);
+ occurrencesManager_NEW = new MarkOccurrencesManager_NEW(
+ this,
+ viewer,
+ getDartReconcilingStrategy());
} else {
occurrencesManager_OLD = new MarkOccurrencesManager_OLD(this, viewer);
}

Powered by Google App Engine
This is Rietveld 408576698