Change version number for feature, and for help
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / text / TextDoubleClickStrategy.java
index c3e70a5..def4daf 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  * 
- * $Id: TextDoubleClickStrategy.java,v 1.1 2004-09-02 18:26:49 jsurfer Exp $
+ * $Id: TextDoubleClickStrategy.java,v 1.2 2006-10-21 23:13:54 pombredanne Exp $
  */
 
 package net.sourceforge.phpeclipse.ui.text;
@@ -28,7 +28,9 @@ public class TextDoubleClickStrategy implements ITextDoubleClickStrategy {
         */
        public void doubleClicked(ITextViewer viewer) {
                int offset = viewer.getSelectedRange().x;
-               if (offset < 0) { return; }
+               if (offset < 0) {
+                       return;
+               }
 
                selectWord(viewer, viewer.getDocument(), offset);
        }