Class NsisFoldParser

  • All Implemented Interfaces:
    FoldParser

    public class NsisFoldParser
    extends Object
    implements FoldParser
    A fold parser NSIS.

    Note that this class may impose somewhat of a performance penalty on large source files, since it re-parses the entire document each time folds are reevaluated.

    • Field Detail

      • C_MLC_END

        protected static final char[] C_MLC_END
    • Constructor Detail

      • NsisFoldParser

        public NsisFoldParser()
    • Method Detail

      • getFolds

        public List<Fold> getFolds​(RSyntaxTextArea textArea)
        Returns a list of all folds in the text area.
        Specified by:
        getFolds in interface FoldParser
        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.