public class HtmlFoldParser extends java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Fold> |
getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
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 java.util.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.