Mercurial > projects > dwt-addons
comparison dwtx/jface/text/DefaultIndentLineAutoEditStrategy.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 | 7d818bd32d63 |
children |
comparison
equal
deleted
inserted
replaced
135:65801ad2b265 | 136:6dcb0baaa031 |
---|---|
182 * @param offset the offset at which searching start | 182 * @param offset the offset at which searching start |
183 * @param end the offset at which searching stops | 183 * @param end the offset at which searching stops |
184 * @return the offset in the specified range whose character is not a space or tab | 184 * @return the offset in the specified range whose character is not a space or tab |
185 * @exception BadLocationException if position is an invalid range in the given document | 185 * @exception BadLocationException if position is an invalid range in the given document |
186 */ | 186 */ |
187 protected int findEndOfWhiteSpace(IDocument document, int offset, int end) throws BadLocationException { | 187 protected int findEndOfWhiteSpace(IDocument document, int offset, int end) { |
188 while (offset < end) { | 188 while (offset < end) { |
189 char c= document.getChar(offset); | 189 char c= document.getChar(offset); |
190 if (c !is ' ' && c !is '\t') { | 190 if (c !is ' ' && c !is '\t') { |
191 return offset; | 191 return offset; |
192 } | 192 } |