diff dwtx/text/edits/TextEditProcessor.d @ 159:7926b636c282

...
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 01:57:58 +0200
parents f70d9508c95c
children f8d52b926852
line wrap: on
line diff
--- a/dwtx/text/edits/TextEditProcessor.d	Tue Aug 26 02:46:34 2008 +0200
+++ b/dwtx/text/edits/TextEditProcessor.d	Wed Aug 27 01:57:58 2008 +0200
@@ -86,7 +86,7 @@
     }
 
     private this(IDocument document, TextEdit root, int style, bool secondary) {
-        Assert.isNotNull(document);
+        Assert.isNotNull(cast(Object)document);
         Assert.isNotNull(root);
         fDocument= document;
         fRoot= root;
@@ -218,7 +218,7 @@
         } finally {
             collector.disconnect(fDocument);
         }
-        return collector.undo;
+        return collector.undo_package;
     }
 
     private void computeSources() {
@@ -245,7 +245,7 @@
         } finally {
             collector.disconnect(fDocument);
         }
-        return collector.undo;
+        return collector.undo_package;
     }
 
     private bool createUndo() {