diff dwtx/jface/text/rules/SingleLineRule.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
line wrap: on
line diff
--- a/dwtx/jface/text/rules/SingleLineRule.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/rules/SingleLineRule.d	Sun Aug 24 01:29:22 2008 +0200
@@ -58,7 +58,7 @@
      * @param endSequence the pattern's end sequence
      * @param token the token to be returned on success
      */
-    public SingleLineRule(String startSequence, String endSequence, IToken token) {
+    public this(String startSequence, String endSequence, IToken token) {
         this(startSequence, endSequence, token, (char) 0);
     }
 
@@ -73,7 +73,7 @@
      * @param token the token to be returned on success
      * @param escapeCharacter the escape character
      */
-    public SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter) {
+    public this(String startSequence, String endSequence, IToken token, char escapeCharacter) {
         this(startSequence, endSequence, token, escapeCharacter, false);
     }
 
@@ -91,7 +91,7 @@
      * @param breaksOnEOF indicates whether the end of the file successfully terminates this rule
      * @since 2.1
      */
-    public SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF) {
+    public this(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF) {
         super(startSequence, endSequence, token, escapeCharacter, true, breaksOnEOF);
     }
 
@@ -113,7 +113,7 @@
      *        terminate the line, even if <code>breakOnEOL</code> is true
      * @since 3.0
      */
-    public SingleLineRule(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF, bool escapeContinuesLine) {
+    public this(String startSequence, String endSequence, IToken token, char escapeCharacter, bool breaksOnEOF, bool escapeContinuesLine) {
         super(startSequence, endSequence, token, escapeCharacter, true, breaksOnEOF, escapeContinuesLine);
     }
 }