Mercurial > projects > dwt-addons
diff dwtx/text/edits/MoveTargetEdit.d @ 150:5cf141e43417
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 23:05:26 +0200 |
parents | 6dcb0baaa031 |
children | f70d9508c95c |
line wrap: on
line diff
--- a/dwtx/text/edits/MoveTargetEdit.d Sun Aug 24 22:41:48 2008 +0200 +++ b/dwtx/text/edits/MoveTargetEdit.d Sun Aug 24 23:05:26 2008 +0200 @@ -97,7 +97,7 @@ * * @return the source edit or <code>null</code> */ - public this getSourceEdit() { + public MoveSourceEdit getSourceEdit() { return fSource; } @@ -201,11 +201,11 @@ /* * @see dwtx.text.edits.TextEdit#traversePassThree */ - int traverseRegionUpdating(TextEditProcessor processor, IDocument document, int accumulatedDelta, bool delete) { + int traverseRegionUpdating(TextEditProcessor processor, IDocument document, int accumulatedDelta, bool delete_) { // the children got already updated / normalized while they got removed // from the source edit. So we only have to adjust the offset computed to // far. - if (delete) { + if (delete_) { deleteTree(); } else { internalMoveTree(accumulatedDelta);