public class HtmlFoldParser extends Object implements FoldParser
| Modifier and Type | Field and Description |
|---|---|
static int |
LANGUAGE_HTML
Constant denoting we're folding HTML.
|
static int |
LANGUAGE_JSP
Constant denoting we're folding JSP.
|
static int |
LANGUAGE_PHP
Constant denoting we're folding PHP.
|
| Constructor and Description |
|---|
HtmlFoldParser(int language)
Constructor.
|
public static final int LANGUAGE_HTML
public static final int LANGUAGE_PHP
public static final int LANGUAGE_JSP
public HtmlFoldParser(int language)
language - The language to fold, such as LANGUAGE_PHP.public List<Fold> getFolds(RSyntaxTextArea textArea)
getFolds in interface FoldParsertextArea - The text area whose contents should be analyzed.null,
it is treated as if no folds were found.