Uses of Class
org.eclipse.lemminx.commons.TextDocument
-
Packages that use TextDocument Package Description org.eclipse.lemminx.commons org.eclipse.lemminx.dom org.eclipse.lemminx.services.format org.eclipse.lemminx.utils -
-
Uses of TextDocument in org.eclipse.lemminx.commons
Classes in org.eclipse.lemminx.commons with type parameters of type TextDocument Modifier and Type Class Description classTextDocuments<T extends TextDocument>A manager for simple text documentsSubclasses of TextDocument in org.eclipse.lemminx.commons Modifier and Type Class Description classModelTextDocument<T>ATextDocumentwhich is associate to a model loaded in async.Constructors in org.eclipse.lemminx.commons with parameters of type TextDocument Constructor Description TextDocumentVersionChecker(TextDocument textDocument, int version)Constructor parameters in org.eclipse.lemminx.commons with type arguments of type TextDocument Constructor Description ModelTextDocument(String text, String uri, BiFunction<TextDocument,org.eclipse.lsp4j.jsonrpc.CancelChecker,T> parse)ModelTextDocument(org.eclipse.lsp4j.TextDocumentItem document, BiFunction<TextDocument,org.eclipse.lsp4j.jsonrpc.CancelChecker,T> parse)ModelTextDocuments(BiFunction<TextDocument,org.eclipse.lsp4j.jsonrpc.CancelChecker,T> parse) -
Uses of TextDocument in org.eclipse.lemminx.dom
Methods in org.eclipse.lemminx.dom that return TextDocument Modifier and Type Method Description TextDocumentDOMDocument. getTextDocument()Methods in org.eclipse.lemminx.dom with parameters of type TextDocument Modifier and Type Method Description DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager)DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent)DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)Constructors in org.eclipse.lemminx.dom with parameters of type TextDocument Constructor Description DOMDocument(TextDocument textDocument, URIResolverExtensionManager resolverExtensionManager) -
Uses of TextDocument in org.eclipse.lemminx.services.format
Constructors in org.eclipse.lemminx.services.format with parameters of type TextDocument Constructor Description XMLFormatterDocumentOld(TextDocument textDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings, Collection<IFormatterParticipant> formatterParticipants)XML formatter document. -
Uses of TextDocument in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils with parameters of type TextDocument Modifier and Type Method Description static StringTextEditUtils. applyEdits(TextDocument document, List<? extends org.eclipse.lsp4j.TextEdit> edits)static org.eclipse.lsp4j.TextEditTextEditUtils. createTextEditIfNeeded(int from, int to, String expectedContent, TextDocument textDocument)Returns theTextEditto insert the given expected content from the given range (from, to) of the given text document and null otherwise.
-