1) Setting a new value did not work because the short name was send to XDebug instead...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPSyntaxRdr.java
index 421eaf9..ee1fbd6 100644 (file)
@@ -27,7 +27,7 @@ import net.sourceforge.phpeclipse.phpeditor.php.PHPKeyword;
 import net.sourceforge.phpeclipse.phpeditor.php.PHPType;
 
 import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
+//import org.eclipse.core.runtime.IPath;
 import org.eclipse.jface.preference.IPreferenceStore;
 import org.w3c.dom.Attr;
 import org.w3c.dom.Document;
@@ -71,7 +71,7 @@ public class PHPSyntaxRdr {
        //private static boolean hasXMLFileBeenRead = true;
 
        // The following variable is used to hold the syntax from
-       // the suers custom file - if that file should be changed,
+       // the users custom file - if that file should be changed,
        // then all entries in this variable should be removed from
        // the word list, reread from the file and then reinserted.
        private static ArrayList userdefsyntaxdata;
@@ -228,11 +228,11 @@ public class PHPSyntaxRdr {
                return userdefsyntaxdata;
        }
 
-       private static File getSyntaxFile() {
-               IPath path = PHPeclipsePlugin.getDefault().getStateLocation();
-               path = path.append(PHPSYNTAX_FILE);
-               return path.toFile();
-       }
+//     private static File getSyntaxFile() {
+//             IPath path = PHPeclipsePlugin.getDefault().getStateLocation();
+//             path = path.append(PHPSYNTAX_FILE);
+//             return path.toFile();
+//     }
 
        private static String getAttributeValue(NamedNodeMap attributes, String name) {
                Node node = attributes.getNamedItem(name);