Prepared better HEREDOC support; see comment for bug #1319276
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / IPHPPartitions.java
1 /*
2  * Created on 05.03.2003
3  *
4  */
5 package net.sourceforge.phpdt.internal.ui.text;
6
7 /**
8  * @author Stefan Langer (musk)
9  *
10  */
11 public interface IPHPPartitions
12 {
13         public final static String PHP_PARTITIONING = "___php_partitioning"; //$NON-NLS-1$
14
15         public final static String PHP_PHPDOC_COMMENT = "__php_phpdoc_comment"; //$NON-NLS-1$
16         public final static String PHP_SINGLELINE_COMMENT = "__php_singleline_comment"; //$NON-NLS-1$
17         public final static String PHP_MULTILINE_COMMENT = "__php_multiline_comment"; //$NON-NLS-1$
18         public final static String PHP_STRING_DQ = "__php_string"; //$NON-NLS-1$
19         public final static String PHP_STRING_SQ = "__php_string_sq"; //$NON-NLS-1$
20         public final static String PHP_STRING_HEREDOC = "__php_string_heredoc"; //$NON-NLS-1$
21         public final static String JAVASCRIPT = "__javascript"; //$NON-NLS-1$
22         public final static String JS_MULTILINE_COMMENT = "__js_multiline_comment"; //$NON-NLS-1$
23         public final static String CSS = "__css"; //$NON-NLS-1$
24         public final static String CSS_MULTILINE_COMMENT = "__css_multiline_comment"; //$NON-NLS-1$
25         public final static String HTML = "__html"; //$NON-NLS-1$
26         public final static String HTML_MULTILINE_COMMENT = "__html_multiline_comment"; //$NON-NLS-1$
27
28         public final static String SMARTY = "__smarty"; //$NON-NLS-1$
29         public final static String SMARTY_MULTILINE_COMMENT = "__smarty_multiline_comment"; //$NON-NLS-1$
30
31         public final static int PHP_FILE = 1;
32         public final static int HTML_FILE = 2;
33         public final static int XML_FILE = 3;
34         public final static int SMARTY_FILE = 4;
35 }