Mercurial > projects > dwt-addons
diff dwtx/jface/text/formatter/ContentFormatter.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 |
line wrap: on
line diff
--- a/dwtx/jface/text/formatter/ContentFormatter.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/formatter/ContentFormatter.d Sun Aug 24 01:29:22 2008 +0200 @@ -99,7 +99,7 @@ * @param refersToOffset <code>true</code> if position offset should be referenced * @param category the category the given position belongs to */ - protected PositionReference(Position position, bool refersToOffset, String category) { + protected this(Position position, bool refersToOffset, String category) { fPosition= position; fRefersToOffset= refersToOffset; fCategory= category; @@ -207,7 +207,7 @@ * * @param category the category */ - protected NonDeletingPositionUpdater(String category) { + protected this(String category) { super(category); } @@ -255,7 +255,7 @@ * @param positions the affected positions * @param offset the offset */ - public UpdateAffectedPositions(int[] positions, int offset) { + public this(int[] positions, int offset) { fPositions= positions; fOffset= offset; } @@ -310,7 +310,7 @@ * in the partition-aware mode. There are no preconfigured formatting strategies. * Will use the default document partitioning if not further configured. */ - public ContentFormatter() { + public this() { fPartitioning= IDocumentExtension3.DEFAULT_PARTITIONING; }