diff dwtx/jface/text/TextViewer.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 65801ad2b265
children 25170b5a8951
line wrap: on
line diff
--- a/dwtx/jface/text/TextViewer.d	Sun Aug 24 01:52:31 2008 +0200
+++ b/dwtx/jface/text/TextViewer.d	Sun Aug 24 02:20:40 2008 +0200
@@ -2966,7 +2966,7 @@
      * @since 2.1
      * @deprecated use <code>updateSlaveDocument</code> instead
      */
-    protected bool updateVisibleDocument(IDocument visibleDocument, int visibleRegionOffset, int visibleRegionLength) throws BadLocationException {
+    protected bool updateVisibleDocument(IDocument visibleDocument, int visibleRegionOffset, int visibleRegionLength)  {
         if (visibleDocument instanceof ChildDocument) {
             ChildDocument childDocument= cast(ChildDocument) visibleDocument;
 
@@ -2994,7 +2994,7 @@
      * @throws BadLocationException in case the specified range is not valid in the master document
      * @since 3.0
      */
-    protected bool updateSlaveDocument(IDocument slaveDocument, int modelRangeOffset, int modelRangeLength) throws BadLocationException {
+    protected bool updateSlaveDocument(IDocument slaveDocument, int modelRangeOffset, int modelRangeLength)  {
         return updateVisibleDocument(slaveDocument, modelRangeOffset, modelRangeLength);
     }
 
@@ -5483,7 +5483,7 @@
      * @throws IllegalStateException if the hyperlink manager has already been created
      * @since 3.1
      */
-    public void setHyperlinkPresenter(IHyperlinkPresenter hyperlinkPresenter) throws IllegalStateException {
+    public void setHyperlinkPresenter(IHyperlinkPresenter hyperlinkPresenter)  {
         if (fHyperlinkManager !is null)
             throw new IllegalStateException();