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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java

Issue 172763003: Issue 16153. Auto-complete for import statements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Extract helper and use marker constant Created 6 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
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java
index 6fcbd6ca4ebf88ecc957c3d0e183900d5d21ad6c..456240b90877bdd5384f4262a6165c442bb66b83 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/completion/CompletionProposal.java
@@ -51,6 +51,11 @@ import java.security.Signature;
*/
public class CompletionProposal {
/**
+ * This character is used to specify location of the cursor after completion.
+ */
+ public static final char CURSOR_MARKER = 0x2758;
+
+ /**
* Completion is a declaration of an anonymous class. This kind of completion might occur in a
* context like <code>"new List(^;"</code> and complete it to <code>"new List() {}"</code>.
* <p>

Powered by Google App Engine
This is Rietveld 408576698