Mercurial > projects > dwt-addons
diff dwtx/text/edits/MoveTargetEdit.d @ 130:b56e9be9fe88
ctors to this
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 00:30:47 +0200 |
parents | eb30df5ca28b |
children | c4fb132a086c |
line wrap: on
line diff
--- a/dwtx/text/edits/MoveTargetEdit.d Sat Aug 23 19:10:48 2008 +0200 +++ b/dwtx/text/edits/MoveTargetEdit.d Sun Aug 24 00:30:47 2008 +0200 @@ -46,7 +46,7 @@ * * @param offset the edit's offset */ - public MoveTargetEdit(int offset) { + public this(int offset) { super(offset, 0); } @@ -56,7 +56,7 @@ * @param offset the edit's offset * @param source the corresponding source edit */ - public MoveTargetEdit(int offset, MoveSourceEdit source) { + public this(int offset, MoveSourceEdit source) { this(offset); setSourceEdit(source); } @@ -64,7 +64,7 @@ /* * Copy constructor */ - private MoveTargetEdit(MoveTargetEdit other) { + private this(MoveTargetEdit other) { super(other); } @@ -74,7 +74,7 @@ * * @return the source edit or <code>null</code> */ - public MoveSourceEdit getSourceEdit() { + public this getSourceEdit() { return fSource; }