Class 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 like
         a. := [;5];
     

    are not folded. This could probably (and will probably) be improved, but is quite serviceable now.

    • Constructor Detail

      • QDLFoldParser

        public QDLFoldParser()
    • Method Detail

      • getFolds

        public List<org.fife.ui.rsyntaxtextarea.folding.Fold> getFolds​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Specified by:
        getFolds in interface org.fife.ui.rsyntaxtextarea.folding.FoldParser