comparison dwtx/jface/text/source/projection/ProjectionAnnotationHover.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
comparison
equal deleted inserted replaced
135:65801ad2b265 136:6dcb0baaa031
137 } 137 }
138 138
139 return null; 139 return null;
140 } 140 }
141 141
142 private String getText(IDocument document, int offset, int length, int numberOfLines) throws BadLocationException { 142 private String getText(IDocument document, int offset, int length, int numberOfLines) {
143 int endOffset= offset + length; 143 int endOffset= offset + length;
144 144
145 try { 145 try {
146 int endLine= document.getLineOfOffset(offset) + Math.max(0, numberOfLines -1); 146 int endLine= document.getLineOfOffset(offset) + Math.max(0, numberOfLines -1);
147 IRegion lineInfo= document.getLineInformation(endLine); 147 IRegion lineInfo= document.getLineInformation(endLine);