Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/SingleLineRule.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 |
---|---|
57 * @param startSequence the pattern's start sequence | 57 * @param startSequence the pattern's start sequence |
58 * @param endSequence the pattern's end sequence | 58 * @param endSequence the pattern's end sequence |
59 * @param token the token to be returned on success | 59 * @param token the token to be returned on success |
60 */ | 60 */ |
61 public this(String startSequence, String endSequence, IToken token) { | 61 public this(String startSequence, String endSequence, IToken token) { |
62 this(startSequence, endSequence, token, (char) 0); | 62 this(startSequence, endSequence, token, cast(wchar) 0); |
63 } | 63 } |
64 | 64 |
65 /** | 65 /** |
66 * Creates a rule for the given starting and ending sequence | 66 * Creates a rule for the given starting and ending sequence |
67 * which, if detected, will return the specified token. | 67 * which, if detected, will return the specified token. |