Mercurial > projects > dwt-addons
diff dwtx/text/edits/UndoEdit.d @ 136:6dcb0baaa031
Regex removal of throws decls, some instanceof
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:20:40 +0200 |
parents | c4fb132a086c |
children | f70d9508c95c |
line wrap: on
line diff
--- a/dwtx/text/edits/UndoEdit.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/text/edits/UndoEdit.d Sun Aug 24 02:20:40 2008 +0200 @@ -69,7 +69,7 @@ /* * @see dwtx.text.edits.TextEdit#internalAdd(dwtx.text.edits.TextEdit) */ - void internalAdd(TextEdit child) throws MalformedTreeException { + void internalAdd(TextEdit child) { throw new MalformedTreeException(null, this, TextEditMessages.getString("UndoEdit.no_children")); //$NON-NLS-1$ } @@ -80,11 +80,11 @@ throw new MalformedTreeException(parent, this, TextEditMessages.getString("UndoEdit.can_not_be_added")); //$NON-NLS-1$ } - UndoEdit dispatchPerformEdits(TextEditProcessor processor) throws BadLocationException { + UndoEdit dispatchPerformEdits(TextEditProcessor processor) { return processor.executeUndo(); } - void dispatchCheckIntegrity(TextEditProcessor processor) throws MalformedTreeException { + void dispatchCheckIntegrity(TextEditProcessor processor) { processor.checkIntegrityUndo(); } @@ -108,7 +108,7 @@ /* * @see TextEdit#performDocumentUpdating */ - int performDocumentUpdating(IDocument document) throws BadLocationException { + int performDocumentUpdating(IDocument document) { fDelta= 0; return fDelta; }