Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/HyperlinkDetectorsConfigurationBlock.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/HyperlinkDetectorsConfigurationBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/HyperlinkDetectorsConfigurationBlock.java
index c0f351fed..af3c1c944 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/HyperlinkDetectorsConfigurationBlock.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/HyperlinkDetectorsConfigurationBlock.java
@@ -234,7 +234,7 @@ class HyperlinkDetectorsConfigurationBlock implements IPreferenceConfigurationBl
@Override
public void keyReleased(KeyEvent e) {
- if (isModifierCandidate && e.stateMask > 0 && e.stateMask == e.stateMask && e.character == 0) {// && e.time -time < 1000) {
+ if (isModifierCandidate && e.stateMask > 0 && e.character == 0) {// && e.time -time < 1000) {
String modifierString= fHyperlinkDefaultKeyModifierText.getText();
Point selection= fHyperlinkDefaultKeyModifierText.getSelection();
int i= selection.x - 1;
@@ -340,7 +340,7 @@ class HyperlinkDetectorsConfigurationBlock implements IPreferenceConfigurationBl
@Override
public void keyReleased(KeyEvent e) {
- if (isModifierCandidate && e.stateMask > 0 && e.stateMask == e.stateMask && e.character == 0) {// && e.time -time < 1000) {
+ if (isModifierCandidate && e.stateMask > 0 && e.character == 0) {// && e.time -time < 1000) {
String modifierString= fHyperlinkKeyModifierText.getText();
Point selection= fHyperlinkKeyModifierText.getSelection();
int i= selection.x - 1;

Back to the top