* 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;
*/
public void doubleClicked(ITextViewer viewer) {
int offset = viewer.getSelectedRange().x;
- if (offset < 0) { return; }
+ if (offset < 0) {
+ return;
+ }
selectWord(viewer, viewer.getDocument(), offset);
}