Mercurial > projects > dwt-addons
diff dwtx/jface/text/rules/DefaultDamagerRepairer.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 | 51e6e63f930e |
children | b6bad70d540a |
line wrap: on
line diff
--- a/dwtx/jface/text/rules/DefaultDamagerRepairer.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/jface/text/rules/DefaultDamagerRepairer.d Sun Aug 24 02:20:40 2008 +0200 @@ -131,7 +131,7 @@ * @return the line end offset for the given offset * @exception BadLocationException if offset is invalid in the current document */ - protected int endOfLineOf(int offset) throws BadLocationException { + protected int endOfLineOf(int offset) { IRegion info= fDocument.getLineInformationOfOffset(offset); if (offset <= info.getOffset() + info.getLength())