Mercurial > projects > dwt-mac
diff dwt/custom/MovementListener.d @ 41:6337764516f1
Sync dwt/custom with dwt-linux (took copy of complete folder)
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 07 Oct 2008 16:29:55 +0200 |
parents | 380af2bdd8e5 |
children |
line wrap: on
line diff
--- a/dwt/custom/MovementListener.d Tue Oct 07 14:41:31 2008 +0200 +++ b/dwt/custom/MovementListener.d Tue Oct 07 16:29:55 2008 +0200 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -7,28 +7,31 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> *******************************************************************************/ -module dwt.custom; +module dwt.custom.MovementListener; import dwt.internal.DWTEventListener; +import dwt.custom.MovementEvent; /** * This listener is invoked when a new offset is required based on the current * offset and a movement type. * * @see dwt.DWT#MOVEMENT_WORD - * @see dwt.DWT#MOVEMENT_WORD_END + * @see dwt.DWT#MOVEMENT_WORD_END * @see dwt.DWT#MOVEMENT_WORD_START * @see dwt.DWT#MOVEMENT_CHAR * @see dwt.DWT#MOVEMENT_CLUSTER - * + * * @since 3.3 */ public interface MovementListener : DWTEventListener { /** * This method is called when a new offset is required based on the current * offset and a movement type. - * + * * <p> * The following event fields are used:<ul> * <li>event.lineOffset line start offset (input)</li> @@ -39,7 +42,7 @@ * </ul> * * @param event the event - * + * * @see MovementEvent * @see StyledText#addWordMovementListener(MovementListener) */ @@ -47,7 +50,7 @@ /** * This method is called when a new offset is required based on the current * offset and a movement type. - * + * * <p> * The following event fields are used:<ul> * <li>event.lineOffset line start offset (input)</li> @@ -58,7 +61,7 @@ * </ul> * * @param event the event - * + * * @see MovementEvent * @see StyledText#addWordMovementListener(MovementListener) */