Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/RuleBasedDamagerRepairer.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 | eb21d3dfc767 |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
58 * @param defaultTextAttribute the text attribute to be returned if none is specified by the current token, | 58 * @param defaultTextAttribute the text attribute to be returned if none is specified by the current token, |
59 * may not be <code>null</code> | 59 * may not be <code>null</code> |
60 * | 60 * |
61 * @deprecated use RuleBasedDamagerRepairer(RuleBasedScanner) instead | 61 * @deprecated use RuleBasedDamagerRepairer(RuleBasedScanner) instead |
62 */ | 62 */ |
63 public RuleBasedDamagerRepairer(RuleBasedScanner scanner, TextAttribute defaultTextAttribute) { | 63 public this(RuleBasedScanner scanner, TextAttribute defaultTextAttribute) { |
64 super(scanner, defaultTextAttribute); | 64 super(scanner, defaultTextAttribute); |
65 } | 65 } |
66 | 66 |
67 /** | 67 /** |
68 * Creates a damager/repairer that uses the given scanner. The scanner may not be <code>null</code> | 68 * Creates a damager/repairer that uses the given scanner. The scanner may not be <code>null</code> |
69 * and is assumed to return only token that carry text attributes. | 69 * and is assumed to return only token that carry text attributes. |
70 * | 70 * |
71 * @param scanner the rule based scanner to be used, may not be <code>null</code> | 71 * @param scanner the rule based scanner to be used, may not be <code>null</code> |
72 * @since 2.0 | 72 * @since 2.0 |
73 */ | 73 */ |
74 public RuleBasedDamagerRepairer(RuleBasedScanner scanner) { | 74 public this(RuleBasedScanner scanner) { |
75 super(scanner); | 75 super(scanner); |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 | 79 |