summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpadilla2013-08-13 12:23:27 (EDT)
committerChris2013-08-14 14:30:23 (EDT)
commitafdfdbc27b11ec4049b7bc80ddb4378e792db516 (patch)
tree8f77eb6111f4953b47a7d861ead7c80ac821d013
parentb481d826ce4a1dd6c9b45b5892d54b0e11c45283 (diff)
downloadwebtools.jsdt.core-afdfdbc27b11ec4049b7bc80ddb4378e792db516.zip
webtools.jsdt.core-afdfdbc27b11ec4049b7bc80ddb4378e792db516.tar.gz
webtools.jsdt.core-afdfdbc27b11ec4049b7bc80ddb4378e792db516.tar.bz2
Bugzilla 414993. Content assist selection for "this." doesn't getv201308141852
inserted in the editor.
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java
index ed9d51d..af3f1a9 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java
@@ -1228,7 +1228,7 @@ public final class CompletionEngine
if (qualifiedBinding == null) {
this.completionToken = computeToken(access);
- setSourceRange((int) (completionPosition >>> 32) - (this.completionToken.length - access.token.length), (int) completionPosition);
+ setSourceRange((int) (completionPosition >>> 32), (int) completionPosition);
ObjectVector typesFound = new ObjectVector();
findTypesAndPackages(this.completionToken, scope, typesFound);