Mercurial > projects > dwt-win
comparison dwt/custom/MovementEvent.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | a5afe31f5cdd |
children | fd9c62a2998e |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2007 IBM Corporation and others. | 2 * Copyright (c) 2000, 2007 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.custom.MovementEvent; | 13 module dwt.custom.MovementEvent; |
14 | 14 |
15 import dwt.events.TypedEvent; | 15 import dwt.events.TypedEvent; |
16 import dwt.custom.StyledTextEvent; | 16 import dwt.custom.StyledTextEvent; |
17 import dwt.dwthelper.utils; | |
17 | 18 |
18 /** | 19 /** |
19 * This event is sent when a new offset is required based on the current | 20 * This event is sent when a new offset is required based on the current |
20 * offset and a movement type. | 21 * offset and a movement type. |
21 * | 22 * |
29 public int lineOffset; | 30 public int lineOffset; |
30 | 31 |
31 /** | 32 /** |
32 * line text (input) | 33 * line text (input) |
33 */ | 34 */ |
34 public char[] lineText; | 35 public String lineText; |
35 | 36 |
36 /** | 37 /** |
37 * the current offset (input) | 38 * the current offset (input) |
38 */ | 39 */ |
39 public int offset; | 40 public int offset; |