Mercurial > projects > dwt-addons
comparison dwtx/text/edits/MultiTextEdit.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 |
comparison
equal
deleted
inserted
replaced
129:eb30df5ca28b | 130:b56e9be9fe88 |
---|---|
44 * Adding this edit to a parent edit sets its range to the | 44 * Adding this edit to a parent edit sets its range to the |
45 * range covered by its children. If the edit doesn't have | 45 * range covered by its children. If the edit doesn't have |
46 * any children its offset is set to the parent's offset | 46 * any children its offset is set to the parent's offset |
47 * and its length is set to 0. | 47 * and its length is set to 0. |
48 */ | 48 */ |
49 public MultiTextEdit() { | 49 public this() { |
50 super(0, Integer.MAX_VALUE); | 50 super(0, Integer.MAX_VALUE); |
51 fDefined= false; | 51 fDefined= false; |
52 } | 52 } |
53 | 53 |
54 /** | 54 /** |
59 * @param offset the edit's offset | 59 * @param offset the edit's offset |
60 * @param length the edit's length. | 60 * @param length the edit's length. |
61 * @see TextEdit#addChild(TextEdit) | 61 * @see TextEdit#addChild(TextEdit) |
62 * @see TextEdit#addChildren(TextEdit[]) | 62 * @see TextEdit#addChildren(TextEdit[]) |
63 */ | 63 */ |
64 public MultiTextEdit(int offset, int length) { | 64 public this(int offset, int length) { |
65 super(offset, length); | 65 super(offset, length); |
66 fDefined= true; | 66 fDefined= true; |
67 } | 67 } |
68 | 68 |
69 /* | 69 /* |
70 * Copy constructor. | 70 * Copy constructor. |
71 */ | 71 */ |
72 protected MultiTextEdit(MultiTextEdit other) { | 72 protected this(MultiTextEdit other) { |
73 super(other); | 73 super(other); |
74 } | 74 } |
75 | 75 |
76 /** | 76 /** |
77 * Checks the edit's integrity. | 77 * Checks the edit's integrity. |