X-Git-Url: http://git.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java
index d0ebcf4..9016106 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java
@@ -11,14 +11,30 @@ Contributors:
**********************************************************************/
package net.sourceforge.phpeclipse;
+
+
/**
* Predefined prference constants
*/
public interface IPreferenceConstants {
+ /**
+ * Preference key suffix for bold text style preference keys.
+ *
+ * @since 2.1
+ */
+ public static final String EDITOR_BOLD_SUFFIX= "_bold"; //$NON-NLS-1$
+
+ /**
+ * Preference key suffix for italic text style preference keys.
+ *
+ * @since 3.0
+ */
+ public static final String EDITOR_ITALIC_SUFFIX= "_italic"; //$NON-NLS-1$
+
public static final String LOCALHOST_PREF = "_localhost";
public static final String DOCUMENTROOT_PREF = "_documentroot";
public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
- public static final String SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview";
+// public static final String SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview";
public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
public static final String MYSQL_RUN_PREF = "_mysql_run_pref";
public static final String MYSQL_START_BACKGROUND = "_mysql_start_background";
@@ -41,35 +57,111 @@ public interface IPreferenceConstants {
public static final String PHP_MULTILINE_COMMENT_BOLD = "_php_multilineComment_bold";
public static final String PHP_MULTILINE_COMMENT_ITALIC = "_php_multilineComment_italic";
public static final String PHP_MULTILINE_COMMENT_UNDERLINE = "_php_multilineComment_underline";
- public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
- public static final String PHP_SINGLELINE_COMMENT_BOLD = "_php_singlelineComment_bold";
- public static final String PHP_SINGLELINE_COMMENT_ITALIC = "_php_singlelineComment_italic";
- public static final String PHP_SINGLELINE_COMMENT_UNDERLINE = "_php_singlelineComment_underline";
- public static final String PHP_TAG = "_php_tag";
- public static final String PHP_TAG_BOLD = "_php_tag_bold";
- public static final String PHP_TAG_ITALIC = "_php_tag_italic";
- public static final String PHP_TAG_UNDERLINE = "_php_tag_underline";
- public static final String PHP_KEYWORD = "_php_keyword";
- public static final String PHP_KEYWORD_BOLD = "_php_keyword_bold";
- public static final String PHP_KEYWORD_ITALIC = "_php_keyword_italic";
- public static final String PHP_KEYWORD_UNDERLINE = "_php_keyword_underline";
- public static final String PHP_VARIABLE = "_php_variable";
- public static final String PHP_VARIABLE_BOLD = "_php_variable_bold";
- public static final String PHP_VARIABLE_ITALIC = "_php_variable_italic";
- public static final String PHP_VARIABLE_UNDERLINE = "_php_variable_underline";
- public static final String PHP_TYPE = "_php_type";
- public static final String PHP_TYPE_BOLD = "_php_type_bold";
- public static final String PHP_TYPE_ITALIC = "_php_type_italic";
- public static final String PHP_TYPE_UNDERLINE = "_php_type_underline";
- public static final String PHP_CONSTANT = "_php_constant";
- public static final String PHP_CONSTANT_BOLD = "_php_constant_bold";
- public static final String PHP_CONSTANT_ITALIC = "_php_constant_italic";
- public static final String PHP_CONSTANT_UNDERLINE = "_php_constant_underline";
- public static final String PHP_FUNCTIONNAME = "_php_functionname";
- public static final String PHP_FUNCTIONNAME_BOLD = "_php_functionname_bold";
- public static final String PHP_FUNCTIONNAME_ITALIC = "_php_functionname_italic";
- public static final String PHP_FUNCTIONNAME_UNDERLINE = "_php_functionname_underline";
- public static final String PHP_STRING = "_php_string";
+ /** The color key for operators and brackets in PHP code
+ * (value "__php_operator"
).
+ * @since 3.0
+ */
+ public static final String PHP_OPERATOR= "__php_operator"; //$NON-NLS-1$
+ /**
+ * A named preference that holds the color used to render operators and brackets.
+ *
+ * Value is of type String
. A RGB color value encoded as a string
+ * using class PreferenceConverter
+ *
+ * Value is of type Boolean
.
+ *
+ * Value is of type Boolean
.
+ *
"__php_keyword_return"
).
+ * @since 3.0
+ */
+ public static final String PHP_KEYWORD_RETURN= "__php_keyword_return"; //$NON-NLS-1$
+ /**
+ * A named preference that holds the color used to render the 'return' keyword.
+ *
+ * Value is of type String
. A RGB color value encoded as a string
+ * using class PreferenceConverter
+ *
+ * Value is of type Boolean
.
+ *
+ * Value is of type Boolean
.
+ *
@foo
) in PHPDoc comments. */
public static final String PHPDOC_KEYWORD = "_php_doc_keyword"; //$NON-NLS-1$
public static final String PHPDOC_KEYWORD_BOLD = "_php_doc_keyword_bold";
@@ -103,28 +197,6 @@ public interface IPreferenceConstants {
// public static final String PHP_EDITOR_BACKGROUND = "_php_editor_background";
public static final String PHP_USERDEF_XMLFILE = "_userdef_xmlfile";
- // /** The color key for PHPDoc keywords (@foo
) in PHPDoc comments. */
- // public static final String PHPDOC_KEYWORD= "_php_doc_keyword"; //$NON-NLS-1$
- // /** The color key for HTML tags (<foo>
) in PHPDoc comments. */
- // public static final String PHPDOC_TAG= "_php_doc_tag"; //$NON-NLS-1$
- // /** The color key for PHPDoc links ({foo}
) in PHPDoc comments. */
- // public static final String PHPDOC_LINK= "_php_doc_link"; //$NON-NLS-1$
- // /** The color key for everthing in PHPDoc comments for which no other color is specified. */
- // public static final String PHPDOC_DEFAULT= "_php_doc_default"; //$NON-NLS-1$
-
- /*Language stuff - under dev*/
-// public static final String RESOURCE_BUNDLE = "_php_editor_res_bundle"; //$NON-NLS-1$
-// public static final String LANGUAGE_DEFAULT = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
-// public static final String RESOURCE_BUNDLE_DE = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_DE";
-// public static final String RESOURCE_BUNDLE_FR = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_FR";
-// public static final String RESOURCE_BUNDLE_ES = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_es_ES";
-// public static final String RESOURCE_BUNDLE_EN_GB = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
-// public static final String RESOURCE_BUNDLE_JA = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_JA";
-
- //public static final String FORMATTER_TAB_SIZE = "_formatter_tab_size";
- //public static final String SPACES_FOR_TABS = "_formatter_tab_size";
-
- public static final String EDITOR_BOLD_SUFFIX = "_editor_bold_suffix";
/** Preference key for showing the line number ruler */
// public final static String LINE_NUMBER_RULER = "_lineNumberRuler"; //$NON-NLS-1$
/** Preference key for the foreground color of the line numbers */
@@ -140,8 +212,9 @@ public interface IPreferenceConstants {
public static final String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = null;
public static final String EDITOR_CORRECTION_INDICATION = null;
- public static final String PHP_OUTLINE_CLASS = "_php_outline_class"; //$NON-NLS-1$
- public static final String PHP_OUTLINE_FUNC = "_php_outline_func"; //$NON-NLS-1$
- public static final String PHP_OUTLINE_VAR = "_php_outline_var"; //$NON-NLS-1$
-
+ public static final String PHP_OBFUSCATOR_DEFAULT = "_php_obfuscator_default";
+ public static final String PHP_BOOKMARK_DEFAULT = "_php_bookmark_default";
+
+ public static final String PHP_AUTO_PREVIEW_DEFAULT = "_auto_preview";
+ public static final String PHP_BRING_TO_TOP_PREVIEW_DEFAULT = "_bring_to_top_preview";
}
\ No newline at end of file