public class JsonFoldParser extends java.lang.Object implements FoldParser
"{ ... }
") and arrays
("[ ... ]"
) that span multiple lines are considered fold
regions.Constructor and Description |
---|
JsonFoldParser() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Fold> |
getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
public java.util.List<Fold> getFolds(RSyntaxTextArea textArea)
getFolds
in interface FoldParser
textArea
- The text area whose contents should be analyzed.null
,
it is treated as if no folds were found.