Class LatexFoldParser
java.lang.Object
org.fife.ui.rsyntaxtextarea.folding.LatexFoldParser
- All Implemented Interfaces:
FoldParser
A fold parser for LaTeX documents. This is likely incomplete and/or not
quite right; feedback is appreciated.
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFolds
(RSyntaxTextArea textArea) Returns a list of all folds in the text area.
-
Field Details
-
BEGIN
private static final char[] BEGIN -
END
private static final char[] END
-
-
Constructor Details
-
LatexFoldParser
public LatexFoldParser()
-
-
Method Details
-
getFolds
Description copied from interface:FoldParser
Returns a list of all folds in the text area.- Specified by:
getFolds
in interfaceFoldParser
- Parameters:
textArea
- The text area whose contents should be analyzed.- Returns:
- The list of folds. If this method returns
null
, it is treated as if no folds were found.
-