diff dwtx/text/edits/TextEdit.d @ 140:26688fec6d23

Following dsss compile errors
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 03:23:46 +0200
parents 93a6ec48fd28
children 000f9136b8f7
line wrap: on
line diff
--- a/dwtx/text/edits/TextEdit.d	Sun Aug 24 02:31:41 2008 +0200
+++ b/dwtx/text/edits/TextEdit.d	Sun Aug 24 03:23:46 2008 +0200
@@ -730,7 +730,7 @@
      *
      * @see TextEditProcessor#performEdits()
      */
-    public final UndoEdit apply(IDocument document, int style) throws MalformedTreeException, BadLocationException {
+    public final UndoEdit apply(IDocument document, int style)  {
         try {
             TextEditProcessor processor= new TextEditProcessor(document, this, style);
             return processor.performEdits();
@@ -756,7 +756,7 @@
      *  undefined if this exception is thrown.
      * @see #apply(IDocument, int)
      */
-    public final UndoEdit apply(IDocument document) throws MalformedTreeException, BadLocationException {
+    public final UndoEdit apply(IDocument document)  {
         return apply(document, CREATE_UNDO | UPDATE_REGIONS);
     }