Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2011-10-10 13:19:13 +0000
committerDani Megert2011-12-13 13:00:36 +0000
commit80740f3f67927d8e2b8506ebc1e2f0504feb40eb (patch)
tree4c9bbcd2ee0e573950ffc3e08ad6e6e98eb3925d
parent8cda758641dad3aba5f1d51c9fa965d9e7f809db (diff)
downloadeclipse.platform.text-80740f3f67927d8e2b8506ebc1e2f0504feb40eb.tar.gz
eclipse.platform.text-80740f3f67927d8e2b8506ebc1e2f0504feb40eb.tar.xz
eclipse.platform.text-80740f3f67927d8e2b8506ebc1e2f0504feb40eb.zip
Fixed bug 359931: Projection Viewer invokes AutoEditStrategies twice
when in Block Selection Mode
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
index 6aedcf3e8..2c7bd78f3 100644
--- a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
+++ b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1256,6 +1256,7 @@ public class ProjectionViewer extends SourceViewer implements ITextViewerExtensi
if (exposeModelRange(new Region(selection.getOffset(), selection.getLength())))
setSelection(selection);
super.handleVerifyEvent(e);
+ return;
}
Point selection= getSelectedRange();

Back to the top