Mercurial > projects > dwt-addons
comparison dwtx/text/edits/DeleteEdit.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 | c4fb132a086c |
children |
comparison
equal
deleted
inserted
replaced
135:65801ad2b265 | 136:6dcb0baaa031 |
---|---|
85 } | 85 } |
86 | 86 |
87 /* | 87 /* |
88 * @see TextEdit#performDocumentUpdating | 88 * @see TextEdit#performDocumentUpdating |
89 */ | 89 */ |
90 int performDocumentUpdating(IDocument document) throws BadLocationException { | 90 int performDocumentUpdating(IDocument document) { |
91 document.replace(getOffset(), getLength(), ""); //$NON-NLS-1$ | 91 document.replace(getOffset(), getLength(), ""); //$NON-NLS-1$ |
92 fDelta= -getLength(); | 92 fDelta= -getLength(); |
93 return fDelta; | 93 return fDelta; |
94 } | 94 } |
95 | 95 |