Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2011-10-10 13:19:13 +0000
committerDani Megert2011-10-10 13:19:13 +0000
commit53acc00120134b42b3d43456552c500c757ac621 (patch)
tree1ea173b1543776ffab5c732cbf186b522e31544e /org.eclipse.jface.text/projection
parent6f731c94e9f26896eaa63069fb7679e32ffcd30a (diff)
downloadeclipse.platform.text-53acc00120134b42b3d43456552c500c757ac621.tar.gz
eclipse.platform.text-53acc00120134b42b3d43456552c500c757ac621.tar.xz
eclipse.platform.text-53acc00120134b42b3d43456552c500c757ac621.zip
Fixed bug 359931: Projection Viewer invokes AutoEditStrategies twice
when in Block Selection Mode
Diffstat (limited to 'org.eclipse.jface.text/projection')
-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 02e0145cbb5..872f86155cc 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