Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/WordPatternRule.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 |
---|---|
66 * @param detector the word detector to be used | 66 * @param detector the word detector to be used |
67 * @param startSequence the start sequence of the word pattern | 67 * @param startSequence the start sequence of the word pattern |
68 * @param endSequence the end sequence of the word pattern | 68 * @param endSequence the end sequence of the word pattern |
69 * @param token the token to be returned on success | 69 * @param token the token to be returned on success |
70 */ | 70 */ |
71 public WordPatternRule(IWordDetector detector, String startSequence, String endSequence, IToken token) { | 71 public this(IWordDetector detector, String startSequence, String endSequence, IToken token) { |
72 this(detector, startSequence, endSequence, token, (char)0); | 72 this(detector, startSequence, endSequence, token, (char)0); |
73 } | 73 } |
74 | 74 |
75 /** | 75 /** |
76 /** | 76 /** |
83 * @param startSequence the start sequence of the word pattern | 83 * @param startSequence the start sequence of the word pattern |
84 * @param endSequence the end sequence of the word pattern | 84 * @param endSequence the end sequence of the word pattern |
85 * @param token the token to be returned on success | 85 * @param token the token to be returned on success |
86 * @param escapeCharacter the escape character | 86 * @param escapeCharacter the escape character |
87 */ | 87 */ |
88 public WordPatternRule(IWordDetector detector, String startSequence, String endSequence, IToken token, char escapeCharacter) { | 88 public this(IWordDetector detector, String startSequence, String endSequence, IToken token, char escapeCharacter) { |
89 super(startSequence, endSequence, token, escapeCharacter); | 89 super(startSequence, endSequence, token, escapeCharacter); |
90 Assert.isNotNull(detector); | 90 Assert.isNotNull(detector); |
91 fDetector= detector; | 91 fDetector= detector; |
92 } | 92 } |
93 | 93 |