Mercurial > projects > dwt-addons
comparison dwtx/text/edits/ReplaceEdit.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 | 7926b636c282 |
comparison
equal
deleted
inserted
replaced
135:65801ad2b265 | 136:6dcb0baaa031 |
---|---|
103 } | 103 } |
104 | 104 |
105 /* | 105 /* |
106 * @see TextEdit#performDocumentUpdating | 106 * @see TextEdit#performDocumentUpdating |
107 */ | 107 */ |
108 int performDocumentUpdating(IDocument document) throws BadLocationException { | 108 int performDocumentUpdating(IDocument document) { |
109 document.replace(getOffset(), getLength(), fText); | 109 document.replace(getOffset(), getLength(), fText); |
110 fDelta= fText.length() - getLength(); | 110 fDelta= fText.length() - getLength(); |
111 return fDelta; | 111 return fDelta; |
112 } | 112 } |
113 | 113 |