Uses of Class
org.eclipse.lemminx.commons.BadLocationException
-
-
Uses of BadLocationException in org.eclipse.lemminx.commons
Methods in org.eclipse.lemminx.commons that throw BadLocationException Modifier and Type Method Description StringILineTracker. getLineDelimiter(int line)Returns the line delimiter of the specified line.StringTreeLineTracker. getLineDelimiter(int line)org.eclipse.lemminx.commons.LineILineTracker. getLineInformation(int line)Returns a line description of the given line.org.eclipse.lemminx.commons.LineTreeLineTracker. getLineInformation(int line)org.eclipse.lemminx.commons.LineILineTracker. getLineInformationOfOffset(int offset)Returns a line description of the line at the given offset.org.eclipse.lemminx.commons.LineTreeLineTracker. getLineInformationOfOffset(int offset)intILineTracker. getLineLength(int line)Returns length of the specified line including the line's delimiter.intTreeLineTracker. getLineLength(int line)intILineTracker. getLineNumberOfOffset(int offset)Returns the line number the character at the given offset belongs to.intTreeLineTracker. getLineNumberOfOffset(int offset)intILineTracker. getLineOffset(int line)Returns the position of the first character of the specified line.intTreeLineTracker. getLineOffset(int line)intILineTracker. getNumberOfLines(int offset, int length)Returns the number of lines which are occupied by a given text range.intTreeLineTracker. getNumberOfLines(int offset, int length)intILineTracker. getOffsetAt(org.eclipse.lsp4j.Position position)intTreeLineTracker. getOffsetAt(org.eclipse.lsp4j.Position position)org.eclipse.lsp4j.PositionILineTracker. getPositionAt(int position)org.eclipse.lsp4j.PositionTreeLineTracker. getPositionAt(int offset)intTextDocument. lineAt(int position)Returns the line number the character at the given offset belongs to.StringTextDocument. lineDelimiter(int lineNumber)intTextDocument. lineOffsetAt(int position)StringTextDocument. lineText(int lineNumber)intTextDocument. offsetAt(org.eclipse.lsp4j.Position position)org.eclipse.lsp4j.PositionTextDocument. positionAt(int position)voidILineTracker. replace(int offset, int length, String text)Informs the line tracker about the specified change in the tracked text.voidTreeLineTracker. replace(int offset, int length, String text) -
Uses of BadLocationException in org.eclipse.lemminx.dom
Methods in org.eclipse.lemminx.dom that throw BadLocationException Modifier and Type Method Description LineIndentInfoDOMDocument. getLineIndentInfo(int lineNumber)StringDOMDocument. lineDelimiter(int lineNumber)StringDOMDocument. lineText(int lineNumber)intDOMDocument. offsetAt(org.eclipse.lsp4j.Position position)org.eclipse.lsp4j.PositionDOMDocument. positionAt(int offset) -
Uses of BadLocationException in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
Methods in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints that throw BadLocationException Modifier and Type Method Description static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings)protected abstract org.eclipse.lsp4j.TextDocumentEditAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateDocTypeCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateRelaxNGSchemaCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithDTDCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithXSDCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXSINoNamespaceSchemaCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) -
Uses of BadLocationException in org.eclipse.lemminx.extensions.prolog
Methods in org.eclipse.lemminx.extensions.prolog that throw BadLocationException Modifier and Type Method Description static voidPrologModel. computeAttributeNameCompletionResponses(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document, SharedSettings sharedSettings)static voidPrologModel. computeValueCompletionResponses(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document) -
Uses of BadLocationException in org.eclipse.lemminx.extensions.xsi
Methods in org.eclipse.lemminx.extensions.xsi that throw BadLocationException Modifier and Type Method Description static voidXSISchemaModel. computeCompletionResponses(ICompletionRequest request, ICompletionResponse response, DOMDocument document, boolean generateValue, SharedSettings sharedSettings)static voidXSISchemaModel. computeValueCompletionResponses(ICompletionRequest request, ICompletionResponse response, DOMDocument document) -
Uses of BadLocationException in org.eclipse.lemminx.services
Methods in org.eclipse.lemminx.services that throw BadLocationException Modifier and Type Method Description LineIndentInfoCodeActionRequest. getLineIndentInfo()XMLGeneratorCodeActionRequest. getXMLGenerator()XMLGeneratorResolveCodeActionRequest. getXMLGenerator(org.eclipse.lsp4j.Range range) -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that throw BadLocationException Modifier and Type Method Description LineIndentInfoIPositionRequest. getLineIndentInfo()Returns the line indent information of the offset where completion was triggered. -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions.codeaction
Methods in org.eclipse.lemminx.services.extensions.codeaction that throw BadLocationException Modifier and Type Method Description XMLGeneratorICodeActionRequest. getXMLGenerator()XMLGeneratorICodeActionResolverRequest. getXMLGenerator(org.eclipse.lsp4j.Range range)Returns the XML generator and null otherwise. -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions.completion
Methods in org.eclipse.lemminx.services.extensions.completion that throw BadLocationException Modifier and Type Method Description XMLGeneratorICompletionRequest. getXMLGenerator() -
Uses of BadLocationException in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format that throw BadLocationException Modifier and Type Method Description List<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocument. format()Returns a List containing multiple TextEdit, containing the newly formatted changes of an XML document.List<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocumentOld. format()Returns a List containing a single TextEdit, containing the newly formatted changes of this.textDocument -
Uses of BadLocationException in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that throw BadLocationException Modifier and Type Method Description static StringTextEditUtils. applyEdits(TextDocument document, List<? extends org.eclipse.lsp4j.TextEdit> edits)static org.eclipse.lsp4j.DocumentLinkXMLPositionUtility. createDocumentLink(DOMRange target, String location, boolean adjust)Create a document link
-