comparison dwtx/jface/text/rules/RuleBasedPartitioner.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
114 * partitions of the given legal content types. 114 * partitions of the given legal content types.
115 * 115 *
116 * @param scanner the scanner this partitioner is supposed to use 116 * @param scanner the scanner this partitioner is supposed to use
117 * @param legalContentTypes the legal content types of this partitioner 117 * @param legalContentTypes the legal content types of this partitioner
118 */ 118 */
119 public RuleBasedPartitioner(RuleBasedScanner scanner, String[] legalContentTypes) { 119 public this(RuleBasedScanner scanner, String[] legalContentTypes) {
120 fScanner= scanner; 120 fScanner= scanner;
121 fLegalContentTypes= TextUtilities.copy(legalContentTypes); 121 fLegalContentTypes= TextUtilities.copy(legalContentTypes);
122 fPositionCategory= CONTENT_TYPES_CATEGORY + hashCode(); 122 fPositionCategory= CONTENT_TYPES_CATEGORY + hashCode();
123 fPositionUpdater= new DefaultPositionUpdater(fPositionCategory); 123 fPositionUpdater= new DefaultPositionUpdater(fPositionCategory);
124 } 124 }