Revert "Bug 545846 - StyledText: wrong word selected on double-click"

This reverts commit cafa676acdbc2341a1a1aa13e37281bd51315150.

Change-Id: I328125e0d4833baa7bcf08fc63f6f71cc2887e22
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index 5b15ec4..676bc7f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -6184,17 +6184,8 @@
 			if (wordSelect) {
 				int min = blockSelection ? lineOffset : 0;
 				int max = blockSelection ? lineOffset + content.getLine(lineIndex).length() : content.getCharCount();
-				int start;
-				int end;
-				final Point offsetPoint = getPointAtOffset(offset);
-				if (event.x > offsetPoint.x) {
-					end = Math.min(max, getWordNext(offset, SWT.MOVEMENT_WORD_END));
-					start = Math.max(min, getWordPrevious(end, SWT.MOVEMENT_WORD_START));
-				}
-				else {
-					start = Math.max(min, getWordPrevious(offset, SWT.MOVEMENT_WORD_START));
-					end = Math.min(max, getWordNext(start, SWT.MOVEMENT_WORD_END));
-				}
+				int start = Math.max(min, getWordPrevious(offset, SWT.MOVEMENT_WORD_START));
+				int end = Math.min(max, getWordNext(start, SWT.MOVEMENT_WORD_END));
 				setSelection(start, end - start, false, true);
 				sendSelectionEvent();
 			} else {