Mercurial > projects > dwt-linux
comparison dwt/custom/ExtendedModifyEvent.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 721afe91f448 |
children | c0d810de7093 |
comparison
equal
deleted
inserted
replaced
237:98b80b00af79 | 238:380bad9f6852 |
---|---|
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.custom.ExtendedModifyEvent; | 13 module dwt.custom.ExtendedModifyEvent; |
14 | 14 |
15 import dwt.dwthelper.utils; | |
16 | |
15 import dwt.events.TypedEvent; | 17 import dwt.events.TypedEvent; |
16 import dwt.custom.StyledTextEvent; | 18 import dwt.custom.StyledTextEvent; |
17 | 19 |
18 /** | 20 /** |
19 * This event is sent after a text change occurs. | 21 * This event is sent after a text change occurs. |
22 /** start offset of the new text */ | 24 /** start offset of the new text */ |
23 public int start; | 25 public int start; |
24 /** length of the new text */ | 26 /** length of the new text */ |
25 public int length; | 27 public int length; |
26 /** replaced text or empty string if no text was replaced */ | 28 /** replaced text or empty string if no text was replaced */ |
27 public char[] replacedText; | 29 public String replacedText; |
28 | 30 |
29 static final long serialVersionUID = 3258696507027830832L; | 31 static final long serialVersionUID = 3258696507027830832L; |
30 | 32 |
31 public this(StyledTextEvent e) { | 33 public this(StyledTextEvent e) { |
32 super(cast(Object)e); | 34 super(cast(Object)e); |