Class XMLFormatterDocumentOld


  • public class XMLFormatterDocumentOld
    extends Object
    Default XML formatter which generates one text edit by rewriting the DOM node which must be formatted.
    Author:
    Angelo ZERR
    • Method Detail

      • format

        public List<? extends org.eclipse.lsp4j.TextEdit> format()
                                                          throws BadLocationException
        Returns a List containing a single TextEdit, containing the newly formatted changes of this.textDocument
        Returns:
        List containing a single TextEdit
        Throws:
        BadLocationException