Mercurial > projects > dwt-addons
comparison dwtx/text/edits/InsertEdit.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 |
---|---|
102 } | 102 } |
103 | 103 |
104 /* | 104 /* |
105 * @see TextEdit#performDocumentUpdating | 105 * @see TextEdit#performDocumentUpdating |
106 */ | 106 */ |
107 int performDocumentUpdating(IDocument document) throws BadLocationException { | 107 int performDocumentUpdating(IDocument document) { |
108 document.replace(getOffset(), getLength(), fText); | 108 document.replace(getOffset(), getLength(), fText); |
109 fDelta= fText.length() - getLength(); | 109 fDelta= fText.length() - getLength(); |
110 return fDelta; | 110 return fDelta; |
111 } | 111 } |
112 | 112 |