diff dwtx/jface/text/templates/DocumentTemplateContext.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 26688fec6d23
line wrap: on
line diff
--- a/dwtx/jface/text/templates/DocumentTemplateContext.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/templates/DocumentTemplateContext.d	Sun Aug 24 01:29:22 2008 +0200
@@ -80,7 +80,7 @@
      * @param offset the offset of the document region
      * @param length the length of the document region
      */
-    public DocumentTemplateContext(TemplateContextType type, IDocument document, int offset, int length) {
+    public this(TemplateContextType type, IDocument document, int offset, int length) {
         this(type, document, new Position(offset, length));
     }
 
@@ -96,7 +96,7 @@
      *        forms the template context
      * @since 3.1
      */
-    public DocumentTemplateContext(TemplateContextType type, IDocument document, Position position) {
+    public this(TemplateContextType type, IDocument document, Position position) {
         super(type);
 
         Assert.isNotNull(document);