Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/MultiLineRule.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 |
---|---|
54 * | 54 * |
55 * @param startSequence the pattern's start sequence | 55 * @param startSequence the pattern's start sequence |
56 * @param endSequence the pattern's end sequence | 56 * @param endSequence the pattern's end 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 MultiLineRule(String startSequence, String endSequence, IToken token) { | 59 public this(String startSequence, String endSequence, IToken token) { |
60 this(startSequence, endSequence, token, (char) 0); | 60 this(startSequence, endSequence, token, (char) 0); |
61 } | 61 } |
62 | 62 |
63 /** | 63 /** |
64 * Creates a rule for the given starting and ending sequence | 64 * Creates a rule for the given starting and ending sequence |
68 * @param startSequence the pattern's start sequence | 68 * @param startSequence the pattern's start sequence |
69 * @param endSequence the pattern's end sequence | 69 * @param endSequence the pattern's end sequence |
70 * @param token the token to be returned on success | 70 * @param token the token to be returned on success |
71 * @param escapeCharacter the escape character | 71 * @param escapeCharacter the escape character |
72 */ | 72 */ |
73 public MultiLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter) { | 73 public this(String startSequence, String endSequence, IToken token, char escapeCharacter) { |
74 this(startSequence, endSequence, token, escapeCharacter, false); | 74 this(startSequence, endSequence, token, escapeCharacter, false); |
75 } | 75 } |
76 | 76 |
77 /** | 77 /** |
78 * Creates a rule for the given starting and ending sequence | 78 * Creates a rule for the given starting and ending sequence |
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 * @param breaksOnEOF indicates whether the end of the file terminates this rule successfully | 87 * @param breaksOnEOF indicates whether the end of the file terminates this rule successfully |
88 * @since 2.1 | 88 * @since 2.1 |
89 */ | 89 */ |
90 public MultiLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF) { | 90 public this(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF) { |
91 super(startSequence, endSequence, token, escapeCharacter, false, breaksOnEOF); | 91 super(startSequence, endSequence, token, escapeCharacter, false, breaksOnEOF); |
92 } | 92 } |
93 } | 93 } |