diff dwt/events/VerifyEvent.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 bef1ed4ebc50
children fd9c62a2998e
line wrap: on
line diff
--- a/dwt/events/VerifyEvent.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/events/VerifyEvent.d	Mon May 05 00:12:38 2008 +0200
@@ -17,6 +17,8 @@
 import dwt.events.KeyEvent;
 
 import tango.text.convert.Format;
+import dwt.dwthelper.utils;
+
 /**
  * Instances of this class are sent as a result of
  * widgets handling keyboard events
@@ -37,7 +39,7 @@
      * Setting this field will change the text that is about to
      * be inserted or deleted.
      */
-    public char[] text;
+    public String text;
 
     //static final long serialVersionUID = 3257003246269577014L;
 
@@ -60,7 +62,7 @@
  *
  * @return a string representation of the event
  */
-public override char[] toString() {
+public override String toString() {
     return Format( "{} start={} end={} text={}}", super.toString[ 0 .. $-2 ], start, end, text );
 }
 }