Mercurial > projects > dwt-addons
diff dwtx/jface/text/ILineTracker.d @ 139:93a6ec48fd28
Regexp throws removal in interfaces
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:31:41 +0200 |
parents | c4fb132a086c |
children |
line wrap: on
line diff
--- a/dwtx/jface/text/ILineTracker.d Sun Aug 24 02:26:23 2008 +0200 +++ b/dwtx/jface/text/ILineTracker.d Sun Aug 24 02:31:41 2008 +0200 @@ -196,7 +196,7 @@ * @return the line's delimiter or <code>null</code> if line does not have a delimiter * @exception BadLocationException if the line number is invalid in this tracker's line structure */ - String getLineDelimiter(int line) throws BadLocationException; + String getLineDelimiter(int line) ; /** * Computes the number of lines in the given text. @@ -221,7 +221,7 @@ * @return the number of lines occupied by the specified range * @exception BadLocationException if specified range is unknown to this tracker */ - int getNumberOfLines(int offset, int length) throws BadLocationException; + int getNumberOfLines(int offset, int length) ; /** * Returns the position of the first character of the specified line. @@ -230,7 +230,7 @@ * @return offset of the first character of the line * @exception BadLocationException if the line is unknown to this tracker */ - int getLineOffset(int line) throws BadLocationException; + int getLineOffset(int line) ; /** * Returns length of the specified line including the line's delimiter. @@ -239,7 +239,7 @@ * @return the length of the line * @exception BadLocationException if line is unknown to this tracker */ - int getLineLength(int line) throws BadLocationException; + int getLineLength(int line) ; /** * Returns the line number the character at the given offset belongs to. @@ -248,7 +248,7 @@ * @return the number of the line the offset is on * @exception BadLocationException if the offset is invalid in this tracker */ - int getLineNumberOfOffset(int offset) throws BadLocationException; + int getLineNumberOfOffset(int offset) ; /** * Returns a line description of the line at the given offset. @@ -259,7 +259,7 @@ * @return a region describing the line * @exception BadLocationException if offset is invalid in this tracker */ - IRegion getLineInformationOfOffset(int offset) throws BadLocationException; + IRegion getLineInformationOfOffset(int offset) ; /** * Returns a line description of the given line. The description @@ -270,7 +270,7 @@ * @return a region describing the line * @exception BadLocationException if line is unknown to this tracker */ - IRegion getLineInformation(int line) throws BadLocationException; + IRegion getLineInformation(int line) ; /** * Informs the line tracker about the specified change in the tracked text. @@ -280,7 +280,7 @@ * @param text the substitution text * @exception BadLocationException if specified range is unknown to this tracker */ - void replace(int offset, int length, String text) throws BadLocationException; + void replace(int offset, int length, String text) ; /** * Sets the tracked text to the specified text.