comparison dwtx/jface/text/DefaultDocumentAdapter.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
comparison
equal deleted inserted replaced
135:65801ad2b265 136:6dcb0baaa031
288 * @param line the line number 288 * @param line the line number
289 * @return the content of the line of the given number in the given document 289 * @return the content of the line of the given number in the given document
290 * @throws BadLocationException if the line number is invalid for the adapted document 290 * @throws BadLocationException if the line number is invalid for the adapted document
291 * @since 3.0 291 * @since 3.0
292 */ 292 */
293 private String doGetLine(IDocument document, int line) throws BadLocationException { 293 private String doGetLine(IDocument document, int line) {
294 IRegion r= document.getLineInformation(line); 294 IRegion r= document.getLineInformation(line);
295 return document.get(r.getOffset(), r.getLength()); 295 return document.get(r.getOffset(), r.getLength());
296 } 296 }
297 297
298 private IDocument getDocumentForRead() { 298 private IDocument getDocumentForRead() {