Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/EndOfLineRule.d @ 134:51e6e63f930e
Regex fix for casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:46:20 +0200 |
parents | 7d818bd32d63 |
children | eb98a5cbfd78 |
comparison
equal
deleted
inserted
replaced
133:7d818bd32d63 | 134:51e6e63f930e |
---|---|
55 * | 55 * |
56 * @param startSequence the pattern's start sequence | 56 * @param startSequence the pattern's start sequence |
57 * @param token the token to be returned on success | 57 * @param token the token to be returned on success |
58 */ | 58 */ |
59 public this(String startSequence, IToken token) { | 59 public this(String startSequence, IToken token) { |
60 this(startSequence, token, (char) 0); | 60 this(startSequence, token, cast(wchar) 0); |
61 } | 61 } |
62 | 62 |
63 /** | 63 /** |
64 * Creates a rule for the given starting sequence | 64 * Creates a rule for the given starting sequence |
65 * which, if detected, will return the specified token. | 65 * which, if detected, will return the specified token. |