A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / link / LinkedPositionListener.java
index 08fab6e..f204eb1 100644 (file)
@@ -1,13 +1,13 @@
 /**********************************************************************
-Copyright (c) 2000, 2002 IBM Corp. and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Common Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/cpl-v10.html
+ Copyright (c) 2000, 2002 IBM Corp. and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Common Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/cpl-v10.html
 
-Contributors:
-    IBM Corporation - Initial implementation
-**********************************************************************/
+ Contributors:
+ IBM Corporation - Initial implementation
+ **********************************************************************/
 
 package net.sourceforge.phpdt.internal.ui.text.link;
 
@@ -17,20 +17,22 @@ import org.eclipse.jface.text.Position;
  * A listener for highlight change notification and exititing linked mode.
  */
 public interface LinkedPositionListener {
-       
+
        /**
-        * Notifies that the linked mode has been left. On success, all changes
-        * are kept, otherwise all changes made to the linked positions are restored
-        * to the state before entering linked mode.
+        * Notifies that the linked mode has been left. On success, all changes are
+        * kept, otherwise all changes made to the linked positions are restored to
+        * the state before entering linked mode.
         */
        void exit(boolean success);
-       
+
        /**
-        * Notifies the changed linked position. The listener is asked
-        * to reposition the caret at the given offset.
+        * Notifies the changed linked position. The listener is asked to reposition
+        * the caret at the given offset.
         * 
-        * @param position    the linked position which initiated the change.
-        * @param caretOffset the caret offset relative to the position.
+        * @param position
+        *            the linked position which initiated the change.
+        * @param caretOffset
+        *            the caret offset relative to the position.
         */
        void setCurrentPosition(Position position, int caretOffset);