Mercurial > projects > dwt-addons
diff dwtx/text/edits/TextEdit.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/TextEdit.d Sat Aug 23 19:10:48 2008 +0200 +++ b/dwtx/text/edits/TextEdit.d Sun Aug 24 00:30:47 2008 +0200 @@ -147,7 +147,7 @@ * @param offset the edit's offset * @param length the edit's length */ - protected TextEdit(int offset, int length) { + protected this(int offset, int length) { Assert.isTrue(offset >= 0 && length >= 0); fOffset= offset; fLength= length; @@ -159,7 +159,7 @@ * * @param source the source to copy form */ - protected TextEdit(TextEdit source) { + protected this(TextEdit source) { fOffset= source.fOffset; fLength= source.fLength; fDelta= 0; @@ -527,7 +527,7 @@ /** * Adds the string representation of this text edit without * children information to the given string buffer. - * + * * @param buffer the string buffer * @param indent the indent level in number of spaces * @since 3.3 @@ -557,9 +557,9 @@ } /** - * Adds the string representation for this text edit + * Adds the string representation for this text edit * and its children to the given string buffer. - * + * * @param buffer the string buffer * @param indent the indent level in number of spaces * @since 3.3 @@ -574,7 +574,7 @@ } } } - + //---- Copying ------------------------------------------------------------- /**