php formatter based on the JDT java formatter (very early version)
authorkhartlage <khartlage>
Thu, 20 Mar 2003 20:54:34 +0000 (20:54 +0000)
committerkhartlage <khartlage>
Thu, 20 Mar 2003 20:54:34 +0000 (20:54 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ToolFactory.java
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/CodeFormatter.java [moved from net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/CodeFormatter.java with 99% similarity]
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/Options.properties [moved from net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/Options.properties with 100% similarity]
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/FormatterOptions.java [moved from net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/impl/FormatterOptions.java with 98% similarity]
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/SplitLine.java [moved from net.sourceforge.phpeclipse/src/org/phpeclipse/phpdt/internal/formatter/impl/SplitLine.java with 99% similarity]

index 249dbec..ca6331d 100644 (file)
@@ -16,7 +16,7 @@ import java.util.Map;
 import net.sourceforge.phpeclipse.PHPCore;
 
 import org.eclipse.core.runtime.Plugin;
-import org.phpeclipse.phpdt.internal.formatter.CodeFormatter;
+import net.sourceforge.phpdt.internal.formatter.CodeFormatter;
 
 /**
  * Factory for creating various compiler tools, such as scanners, parsers and compilers.
@@ -8,7 +8,7 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  ******************************************************************************/
-package org.phpeclipse.phpdt.internal.formatter;
+package net.sourceforge.phpdt.internal.formatter;
 
 import java.io.BufferedReader;
 import java.io.IOException;
@@ -24,8 +24,8 @@ import net.sourceforge.phpdt.core.compiler.InvalidInputException;
 import net.sourceforge.phpdt.internal.compiler.ConfigurableOption;
 import net.sourceforge.phpdt.internal.compiler.parser.Scanner;
 
-import org.phpeclipse.phpdt.internal.formatter.impl.FormatterOptions;
-import org.phpeclipse.phpdt.internal.formatter.impl.SplitLine;
+import net.sourceforge.phpdt.internal.formatter.impl.FormatterOptions;
+import net.sourceforge.phpdt.internal.formatter.impl.SplitLine;
 
 /** <h2>How to format a piece of code ?</h2>
  * <ul><li>Create an instance of <code>CodeFormatter</code>
@@ -8,11 +8,13 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  ******************************************************************************/
-package org.phpeclipse.phpdt.internal.formatter.impl;
-\rimport java.util.Map;
+package net.sourceforge.phpdt.internal.formatter.impl;
+
+import java.util.Map;
 
 public class FormatterOptions {        
-\r      /**
+
+       /**
         * Option IDs
         */
        public static final String OPTION_InsertNewlineBeforeOpeningBrace = "org.phpeclipse.phpdt.core.formatter.newline.openingBrace"; //$NON-NLS-1$
@@ -8,7 +8,7 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  ******************************************************************************/
-package org.phpeclipse.phpdt.internal.formatter.impl;
+package net.sourceforge.phpdt.internal.formatter.impl;
 
 import net.sourceforge.phpdt.core.compiler.ITerminalSymbols;