Documentation
¶
Index ¶
- func ApplyDocumentChange(change protocol.DocumentChange) error
- func ApplyTextEdit(lines []string, edit protocol.TextEdit, lineEnding string) ([]string, error)
- func ApplyTextEdits(uri protocol.DocumentUri, edits []protocol.TextEdit) error
- func ApplyWorkspaceEdit(edit protocol.WorkspaceEdit) error
- func RangesOverlap(r1, r2 protocol.Range) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDocumentChange ¶
func ApplyDocumentChange(change protocol.DocumentChange) error
ApplyDocumentChange applies a DocumentChange (create/rename/delete operations)
func ApplyTextEdit ¶
ApplyTextEdit applies a single text edit to a set of lines
func ApplyTextEdits ¶
func ApplyTextEdits(uri protocol.DocumentUri, edits []protocol.TextEdit) error
ApplyTextEdits applies a sequence of text edits to a file specified by URI
func ApplyWorkspaceEdit ¶
func ApplyWorkspaceEdit(edit protocol.WorkspaceEdit) error
ApplyWorkspaceEdit applies the given WorkspaceEdit to the filesystem
func RangesOverlap ¶
RangesOverlap checks if two ranges overlap in position
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.