Mercurial > projects > dwt-addons
diff dwtx/jface/text/link/LinkedModeUI.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 | b6bad70d540a |
line wrap: on
line diff
--- a/dwtx/jface/text/link/LinkedModeUI.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/jface/text/link/LinkedModeUI.d Sun Aug 24 02:20:40 2008 +0200 @@ -755,7 +755,7 @@ * @throws BadLocationException if the position is not valid in the viewer's * document */ - public void setExitPosition(LinkedModeUITarget target, int offset, int length, int sequence) throws BadLocationException { + public void setExitPosition(LinkedModeUITarget target, int offset, int length, int sequence) { // remove any existing exit position if (fExitPosition !is null) { fExitPosition.getDocument().removePosition(fExitPosition); @@ -786,7 +786,7 @@ * @throws BadLocationException if the position is not valid in the * viewer's document */ - public void setExitPosition(ITextViewer viewer, int offset, int length, int sequence) throws BadLocationException { + public void setExitPosition(ITextViewer viewer, int offset, int length, int sequence) { setExitPosition(new EmptyTarget(viewer), offset, length, sequence); } @@ -1066,7 +1066,7 @@ * @throws BadPartitioningException * @since 3.1 */ - private String[] getContentTypes(IDocument document) throws BadPartitioningException { + private String[] getContentTypes(IDocument document) { if (document instanceof IDocumentExtension3) { IDocumentExtension3 ext= cast(IDocumentExtension3) document; String[] partitionings= ext.getPartitionings();