Mercurial > projects > dwt-addons
diff dwtx/jface/text/RewriteSessionEditProcessor.d @ 140:26688fec6d23
Following dsss compile errors
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 03:23:46 +0200 |
parents | b6bad70d540a |
children | 000f9136b8f7 |
line wrap: on
line diff
--- a/dwtx/jface/text/RewriteSessionEditProcessor.d Sun Aug 24 02:31:41 2008 +0200 +++ b/dwtx/jface/text/RewriteSessionEditProcessor.d Sun Aug 24 03:23:46 2008 +0200 @@ -169,7 +169,7 @@ /** * A text edit processor that brackets the application of edits into a document rewrite session. - * + * * @since 3.3 */ public final class RewriteSessionEditProcessor : TextEditProcessor { @@ -210,7 +210,7 @@ /** * Constructs a new edit processor for the given document. - * + * * @param document the document to manipulate * @param root the root of the text edit tree describing the modifications. By passing a text * edit a a text edit processor the ownership of the edit is transfered to the text edit @@ -221,11 +221,11 @@ public this(IDocument document, TextEdit root, int style) { super(document, root, style); } - + /* * @see dwtx.text.edits.TextEditProcessor#performEdits() */ - public UndoEdit performEdits() throws MalformedTreeException, BadLocationException { + public UndoEdit performEdits() { IDocument document= getDocument(); if (!( cast(IDocumentExtension4)document )) return super.performEdits(); @@ -245,7 +245,7 @@ /** * Returns <code>true</code> if the passed edit is considered <em>large</em>, * <code>false</code> otherwise. - * + * * @param edit the edit to check * @return <code>true</code> if <code>edit</code> is considered <em>large</em>, * <code>false</code> otherwise