Class AbstractMarkupTokenMaker

    • Constructor Detail

      • AbstractMarkupTokenMaker

        public AbstractMarkupTokenMaker()
    • Method Detail

      • getCompleteCloseTags

        public abstract boolean getCompleteCloseTags()
        Returns whether markup close tags should be completed.
        Returns:
        Whether closing markup tags are to be completed.
      • getLineCommentStartAndEnd

        public String[] getLineCommentStartAndEnd​(int languageIndex)
        Returns the text to place at the beginning and end of a line to "comment" it in this programming language.
        Specified by:
        getLineCommentStartAndEnd in interface TokenMaker
        Overrides:
        getLineCommentStartAndEnd in class TokenMakerBase
        Parameters:
        languageIndex - The language index at the offset in question. Since some TokenMakers effectively have nested languages (such as JavaScript in HTML), this parameter tells the TokenMaker what sub-language to look at.
        Returns:
        The start and end strings to add to a line to "comment" it out. A null value for either means there is no string to add for that part. A value of null for the array means this language does not support commenting/uncommenting lines.