comparison dwt/custom/BidiSegmentEvent.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, 2005 IBM Corporation and others. 2 * Copyright (c) 2000, 2005 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
13 module dwt.custom.BidiSegmentEvent; 13 module dwt.custom.BidiSegmentEvent;
14 14
15 15
16 import dwt.events.TypedEvent; 16 import dwt.events.TypedEvent;
17 import dwt.custom.StyledTextEvent; 17 import dwt.custom.StyledTextEvent;
18 import dwt.dwthelper.utils;
18 19
19 /** 20 /**
20 * This event is sent to BidiSegmentListeners when a line is to 21 * This event is sent to BidiSegmentListeners when a line is to
21 * be measured or rendered in a bidi locale. The segments field is 22 * be measured or rendered in a bidi locale. The segments field is
22 * used to specify text ranges in the line that should be treated as 23 * used to specify text ranges in the line that should be treated as
68 public int lineOffset; 69 public int lineOffset;
69 70
70 /** 71 /**
71 * line text 72 * line text
72 */ 73 */
73 public char[] lineText; 74 public String lineText;
74 75
75 /** 76 /**
76 * bidi segments, see above 77 * bidi segments, see above
77 */ 78 */
78 public int[] segments; 79 public int[] segments;