diff dwtx/jface/text/AbstractLineTracker.d @ 140:26688fec6d23

Following dsss compile errors
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 03:23:46 +0200
parents 25170b5a8951
children 75302ef3f92f
line wrap: on
line diff
--- a/dwtx/jface/text/AbstractLineTracker.d	Sun Aug 24 02:31:41 2008 +0200
+++ b/dwtx/jface/text/AbstractLineTracker.d	Sun Aug 24 03:23:46 2008 +0200
@@ -180,7 +180,7 @@
 
     /**
      * Tells whether this class is in debug mode.
-     * 
+     *
      * @since 3.1
      */
     private static final bool DEBUG= false;
@@ -198,7 +198,7 @@
 
     /**
      * Representation of replace and set requests.
-     * 
+     *
      * @since 3.1
      */
     protected static class Request {
@@ -225,19 +225,19 @@
 
     /**
      * The active rewrite session.
-     * 
+     *
      * @since 3.1
      */
     private DocumentRewriteSession fActiveRewriteSession;
     /**
      * The list of pending requests.
-     * 
+     *
      * @since 3.1
      */
     private List fPendingRequests;
     /**
      * The implementation that this tracker delegates to.
-     * 
+     *
      * @since 3.2
      */
     private ILineTracker fDelegate= new class()  ListLineTracker {
@@ -364,7 +364,7 @@
 
     /**
      * Converts the implementation to be a {@link TreeLineTracker} if it isn't yet.
-     * 
+     *
      * @since 3.2
      */
     private void checkImplementation() {
@@ -385,7 +385,7 @@
     /**
      * Returns the information about the first delimiter found in the given text starting at the
      * given offset.
-     * 
+     *
      * @param text the text to be searched
      * @param offset the offset in the given text
      * @return the information of the first found delimiter or <code>null</code>
@@ -417,7 +417,7 @@
 
     /**
      * Tells whether there's an active rewrite session.
-     * 
+     *
      * @return <code>true</code> if there is an active rewrite session, <code>false</code>
      *         otherwise
      * @since 3.1
@@ -428,13 +428,13 @@
 
     /**
      * Flushes the active rewrite session.
-     * 
+     *
      * @throws BadLocationException in case the recorded requests cannot be processed correctly
      * @since 3.1
      */
     protected final void flushRewriteSession()  {
-        if cast(DEBUG)
-            System.out.println("AbstractLineTracker: Flushing rewrite session: " + fActiveRewriteSession); //$NON-NLS-1$
+        if (DEBUG)
+            System.out_.println("AbstractLineTracker: Flushing rewrite session: " + fActiveRewriteSession); //$NON-NLS-1$
 
         Iterator e= fPendingRequests.iterator();
 
@@ -452,7 +452,7 @@
 
     /**
      * Checks the presence of a rewrite session and flushes it.
-     * 
+     *
      * @throws BadLocationException in case flushing does not succeed
      * @since 3.1
      */