Package org.qdl_lang.gui
Class QDLFoldParser
- java.lang.Object
-
- org.qdl_lang.gui.QDLFoldParser
-
- All Implemented Interfaces:
org.fife.ui.rsyntaxtextarea.folding.FoldParser
public class QDLFoldParser extends Object implements org.fife.ui.rsyntaxtextarea.folding.FoldParser
Fold parser for QDL. This recognizes multi-line comments (including ones inside folds) and nested folds based on []. It also will not fold a line that has both start and end brackets, so expressions likea. := [;5];are not folded. This could probably (and will probably) be improved, but is quite serviceable now.
-
-
Constructor Summary
Constructors Constructor Description QDLFoldParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.fife.ui.rsyntaxtextarea.folding.Fold>getFolds(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
-
-
-
Method Detail
-
getFolds
public List<org.fife.ui.rsyntaxtextarea.folding.Fold> getFolds(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
- Specified by:
getFoldsin interfaceorg.fife.ui.rsyntaxtextarea.folding.FoldParser
-
-