Mercurial > projects > dwt-addons
comparison dwtx/jface/text/TypedPosition.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 51e6e63f930e |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
175 * | 175 * |
176 * @param offset the offset of this position | 176 * @param offset the offset of this position |
177 * @param length the length of this position | 177 * @param length the length of this position |
178 * @param type the content type of this position | 178 * @param type the content type of this position |
179 */ | 179 */ |
180 public TypedPosition(int offset, int length, String type) { | 180 public this(int offset, int length, String type) { |
181 super(offset, length); | 181 super(offset, length); |
182 fType= type; | 182 fType= type; |
183 } | 183 } |
184 | 184 |
185 /** | 185 /** |
186 * Creates a position based on the typed region. | 186 * Creates a position based on the typed region. |
187 * | 187 * |
188 * @param region the typed region | 188 * @param region the typed region |
189 */ | 189 */ |
190 public TypedPosition(ITypedRegion region) { | 190 public this(ITypedRegion region) { |
191 super(region.getOffset(), region.getLength()); | 191 super(region.getOffset(), region.getLength()); |
192 fType= region.getType(); | 192 fType= region.getType(); |
193 } | 193 } |
194 | 194 |
195 /** | 195 /** |