diff dwtx/jface/text/source/projection/ProjectionViewer.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents f70d9508c95c
children 7926b636c282
line wrap: on
line diff
--- a/dwtx/jface/text/source/projection/ProjectionViewer.d	Mon Aug 25 19:06:44 2008 +0200
+++ b/dwtx/jface/text/source/projection/ProjectionViewer.d	Tue Aug 26 02:46:34 2008 +0200
@@ -898,7 +898,7 @@
      *
      * @param event the annotation model event
      */
-    protected final void postCatchupRequest(final AnnotationModelEvent event) {
+    protected final void postCatchupRequest(AnnotationModelEvent event) {
         synchronized (fLock) {
             fPendingRequests.add(event);
             if (fPendingRequests.size() is 1) {
@@ -1717,7 +1717,7 @@
             if (position !is null && position.overlapsWith(modelSelection.getOffset(), modelSelection.getLength()) && modelRange2WidgetRange(position) !is null)
                 positions.add(position);
         }
-        return (Position[]) positions.toArray(new Position[positions.size()]);
+        return arraycast!(Position)( positions.toArray());
     }
 
     /*