Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/revisions/ChangeRegion.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 |
---|---|
49 * | 49 * |
50 * @param revision the revision of the new region | 50 * @param revision the revision of the new region |
51 * @param lines the line range of the new region | 51 * @param lines the line range of the new region |
52 * @throws IndexOutOfBoundsException if the line range is not well-formed | 52 * @throws IndexOutOfBoundsException if the line range is not well-formed |
53 */ | 53 */ |
54 public ChangeRegion(Revision revision, ILineRange lines) throws IndexOutOfBoundsException { | 54 public this(Revision revision, ILineRange lines) throws IndexOutOfBoundsException { |
55 Assert.isLegal(revision !is null); | 55 Assert.isLegal(revision !is null); |
56 Assert.isLegal(lines !is null); | 56 Assert.isLegal(lines !is null); |
57 fLines= Range.copy(lines); | 57 fLines= Range.copy(lines); |
58 fRevision=revision; | 58 fRevision=revision; |
59 clearDiff(); | 59 clearDiff(); |