Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/FastPartitioner.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 |
---|---|
131 * partitions of the given legal content types. | 131 * partitions of the given legal content types. |
132 * | 132 * |
133 * @param scanner the scanner this partitioner is supposed to use | 133 * @param scanner the scanner this partitioner is supposed to use |
134 * @param legalContentTypes the legal content types of this partitioner | 134 * @param legalContentTypes the legal content types of this partitioner |
135 */ | 135 */ |
136 public FastPartitioner(IPartitionTokenScanner scanner, String[] legalContentTypes) { | 136 public this(IPartitionTokenScanner scanner, String[] legalContentTypes) { |
137 fScanner= scanner; | 137 fScanner= scanner; |
138 fLegalContentTypes= TextUtilities.copy(legalContentTypes); | 138 fLegalContentTypes= TextUtilities.copy(legalContentTypes); |
139 fPositionCategory= CONTENT_TYPES_CATEGORY + hashCode(); | 139 fPositionCategory= CONTENT_TYPES_CATEGORY + hashCode(); |
140 fPositionUpdater= new DefaultPositionUpdater(fPositionCategory); | 140 fPositionUpdater= new DefaultPositionUpdater(fPositionCategory); |
141 } | 141 } |