X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/link/ILinkedPositionListener.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/link/ILinkedPositionListener.java index 1f79b44..b462ede 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/link/ILinkedPositionListener.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/link/ILinkedPositionListener.java @@ -18,20 +18,22 @@ import org.eclipse.jface.text.Position; */ public interface ILinkedPositionListener { - /** - * 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(int flags); + /** + * 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(int flags); - /** - * 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. - */ - void setCurrentPosition(Position position, int caretOffset); + /** + * 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. + */ + void setCurrentPosition(Position position, int caretOffset); }