Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/projection/ProjectionAnnotationModel.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | f70d9508c95c |
children |
line wrap: on
line diff
--- a/dwtx/jface/text/source/projection/ProjectionAnnotationModel.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/source/projection/ProjectionAnnotationModel.d Mon Sep 08 00:51:37 2008 +0200 @@ -118,7 +118,7 @@ /** * Collapses all annotations that overlap with the given range and are collapsed. - * + * * @param offset the range offset * @param length the range length * @return <code>true</code> if any annotation has been collapse, <code>false</code> @@ -147,7 +147,7 @@ return collapsing; } - + /** * Expands all annotations that overlap with the given range and are collapsed. Fires a model change event if * requested. @@ -158,7 +158,7 @@ * should be fired, <code>false</code> otherwise * @return <code>true</code> if any annotation has been expanded, <code>false</code> otherwise */ - protected bool expandAll(int offset, int length, bool fireModelChanged) { + protected bool expandAll(int offset, int length, bool fireModelChanged_) { bool expanding= false; @@ -175,7 +175,7 @@ } } - if (expanding && fireModelChanged) + if (expanding && fireModelChanged_) fireModelChanged(); return expanding;