Modifier and Type | Method and Description |
---|---|
String |
TreeLineTracker.getLineDelimiter(int line) |
String |
ILineTracker.getLineDelimiter(int line)
Returns the line delimiter of the specified line.
|
org.eclipse.lemminx.commons.Line |
TreeLineTracker.getLineInformation(int line) |
org.eclipse.lemminx.commons.Line |
ILineTracker.getLineInformation(int line)
Returns a line description of the given line.
|
org.eclipse.lemminx.commons.Line |
TreeLineTracker.getLineInformationOfOffset(int offset) |
org.eclipse.lemminx.commons.Line |
ILineTracker.getLineInformationOfOffset(int offset)
Returns a line description of the line at the given offset.
|
int |
TreeLineTracker.getLineLength(int line) |
int |
ILineTracker.getLineLength(int line)
Returns length of the specified line including the line's delimiter.
|
int |
TreeLineTracker.getLineNumberOfOffset(int offset) |
int |
ILineTracker.getLineNumberOfOffset(int offset)
Returns the line number the character at the given offset belongs to.
|
int |
TreeLineTracker.getLineOffset(int line) |
int |
ILineTracker.getLineOffset(int line)
Returns the position of the first character of the specified line.
|
int |
TreeLineTracker.getNumberOfLines(int offset,
int length) |
int |
ILineTracker.getNumberOfLines(int offset,
int length)
Returns the number of lines which are occupied by a given text range.
|
int |
TreeLineTracker.getOffsetAt(org.eclipse.lsp4j.Position position) |
int |
ILineTracker.getOffsetAt(org.eclipse.lsp4j.Position position) |
org.eclipse.lsp4j.Position |
TreeLineTracker.getPositionAt(int offset) |
org.eclipse.lsp4j.Position |
ILineTracker.getPositionAt(int position) |
String |
TextDocument.lineDelimiter(int lineNumber) |
String |
TextDocument.lineText(int lineNumber) |
int |
TextDocument.offsetAt(org.eclipse.lsp4j.Position position) |
org.eclipse.lsp4j.Position |
TextDocument.positionAt(int position) |
void |
TreeLineTracker.replace(int offset,
int length,
String text) |
void |
ILineTracker.replace(int offset,
int length,
String text)
Informs the line tracker about the specified change in the tracked text.
|
Modifier and Type | Method and Description |
---|---|
LineIndentInfo |
DOMDocument.getLineIndentInfo(int lineNumber) |
String |
DOMDocument.lineDelimiter(int lineNumber) |
String |
DOMDocument.lineText(int lineNumber) |
int |
DOMDocument.offsetAt(org.eclipse.lsp4j.Position position) |
org.eclipse.lsp4j.Position |
DOMDocument.positionAt(int offset) |
Modifier and Type | Method and Description |
---|---|
static void |
PrologModel.computeAttributeNameCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.Range editRange,
DOMDocument document,
SharedSettings sharedSettings) |
static void |
PrologModel.computeValueCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.Range editRange,
DOMDocument document) |
Modifier and Type | Method and Description |
---|---|
static void |
XSISchemaModel.computeCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
DOMDocument document,
boolean generateValue,
SharedSettings sharedSettings) |
static void |
XSISchemaModel.computeValueCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
DOMDocument document) |
Modifier and Type | Method and Description |
---|---|
LineIndentInfo |
IPositionRequest.getLineIndentInfo()
Returns the line indent information of the offset where completion was
triggered.
|
XMLGenerator |
ICompletionRequest.getXMLGenerator() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.DocumentLink |
XMLPositionUtility.createDocumentLink(DOMRange target,
String location,
boolean adjust)
Create a document link
|
Copyright © 2020. All rights reserved.