Defined a limit for code completion list entries PHPeclipsePlugin.MAX_PROPOSALS
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPeclipsePlugin.java
index 8ab0b94..04d04fc 100644 (file)
@@ -84,6 +84,11 @@ public class PHPeclipsePlugin extends AbstractUIPlugin implements IPreferenceCon
   /** General debug flag*/
   public static final boolean DEBUG = false;
 
+       /**
+        * The maximum number of allowed proposals by category
+        */
+       public final static int MAX_PROPOSALS = 200;
+       
   private static ExternalToolsPlugin externalTools;
 
   /**
@@ -126,14 +131,13 @@ public class PHPeclipsePlugin extends AbstractUIPlugin implements IPreferenceCon
   /** Windows NT  */
   private static final int WINDOWS_NT = 5;
   private PHPDocumentProvider fCompilationUnitDocumentProvider;
-  //Resource bundle.
-  //private ResourceBundle resourceBundle;
-
   private ImageDescriptorRegistry fImageDescriptorRegistry;
   private HashMap fIndexManagerMap = new HashMap();
 
   private JavaTextTools fJavaTextTools;
   private IFile fLastEditorFile = null;
+
   /**
    * The constructor.
    */