Mercurial > projects > dwt-linux
diff dwt/events/VerifyEvent.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | f2e04420fd6c |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/events/VerifyEvent.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/events/VerifyEvent.d Mon May 05 00:42:55 2008 +0200 @@ -12,6 +12,8 @@ *******************************************************************************/ module dwt.events.VerifyEvent; +import dwt.dwthelper.utils; + import dwt.widgets.Event; import dwt.events.KeyEvent; @@ -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 ); } }