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 97775d7..e23e462 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/IPreferenceConstants.java @@ -33,9 +33,9 @@ public interface IPreferenceConstants { // 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 USE_EXTERNAL_BROWSER_PREF = "_use_external_browser"; // public static final String SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview"; - public static final String EXTERNAL_BROWSER_PREF = "_external_browser"; +// 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"; public static final String MYSQL_PREF = "__mysql_start"; @@ -63,6 +63,12 @@ public interface IPreferenceConstants { */ public static final String PHP_OPERATOR = "__php_operator"; //$NON-NLS-1$ + /** The color key for {} in PHP code + * (value "__php_brace_operator"). + * @since 3.0 + */ + public static final String PHP_BRACE_OPERATOR = "__php_brace_operator"; //$NON-NLS-1$ + /** * A named preference that holds the color used to render operators and brackets. *

@@ -96,6 +102,39 @@ public interface IPreferenceConstants { */ public final static String EDITOR_PHP_OPERATOR_ITALIC= PHP_OPERATOR + EDITOR_ITALIC_SUFFIX; + /** + * 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 + *

+ * + * @see org.eclipse.jface.resource.StringConverter + * @see org.eclipse.jface.preference.PreferenceConverter + * @since 3.0 + */ + public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR= PHP_BRACE_OPERATOR; + + /** + * A named preference that controls whether operators and brackets are rendered in bold. + *

+ * Value is of type Boolean. + *

+ * + * @since 3.0 + */ + public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD= PHP_BRACE_OPERATOR + EDITOR_BOLD_SUFFIX; + + /** + * A named preference that controls whether operators and brackets are rendered in italic. + *

+ * Value is of type Boolean. + *

+ * + * @since 3.0 + */ + public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC= PHP_BRACE_OPERATOR + EDITOR_ITALIC_SUFFIX; + /** The color key for keyword 'return' in PHP code * (value "__php_keyword_return"). * @since 3.0