serve-d v0.7.0-beta.7 (2021-07-14T18:52:03Z)
Dub
Repo
TextEdit
served
lsp
protocol
Undocumented in source.
struct
TextEdit {
TextRange
range
;
string
newText
;
this
(TextRange range, string newText);
this
(Position[2] range, string newText);
JSONValue
_toJSON
();
static
TextEdit
_fromJSON
(JSONValue val);
}
Constructors
this
this
(TextRange range, string newText)
Undocumented in source.
this
this
(Position[2] range, string newText)
Undocumented in source.
Members
Functions
_toJSON
JSONValue
_toJSON
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
_fromJSON
TextEdit
_fromJSON
(JSONValue val)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
newText
string
newText
;
Undocumented in source.
range
TextRange
range
;
Undocumented in source.
Meta
Source
See Implementation
served
lsp
protocol
aliases
DocumentSelector
DocumentUri
TextEditCollection
classes
MethodException
enums
CodeActionKind
CompletionItemKind
DiagnosticSeverity
DiagnosticTag
DocumentHighlightKind
EolType
ErrorCode
FailureHandlingKind
FileChangeType
InsertTextFormat
MarkupKind
MessageType
ResourceOperationKind
SymbolKind
TextDocumentSaveReason
TextDocumentSyncKind
functions
opt
toString
mixin templates
StrictOptionalSerializer
structs
ApplyWorkspaceEditParams
ApplyWorkspaceEditResponse
ArrayOrSingle
ClientCapabilities
CodeAction
CodeActionContext
CodeActionParams
CodeLens
CodeLensOptions
CodeLensParams
CodeLensRegistrationOptions
Color
ColorInformation
ColorPresentation
ColorPresentationParams
ColorProviderOptions
Command
CompletionItem
CompletionList
CompletionOptions
CompletionRegistrationOptions
ConfigurationItem
ConfigurationParams
CreateFile
CreateFileOptions
DeleteFile
DeleteFileOptions
Diagnostic
DiagnosticRelatedInformation
DidChangeConfigurationParams
DidChangeTextDocumentParams
DidChangeWatchedFilesParams
DidChangeWorkspaceFoldersParams
DidCloseTextDocumentParams
DidOpenTextDocumentParams
DidSaveTextDocumentParams
DocumentColorParams
DocumentFilter
DocumentFormattingParams
DocumentHighlight
DocumentHighlightParams
DocumentLink
DocumentLinkOptions
DocumentLinkParams
DocumentLinkRegistrationOptions
DocumentOnTypeFormattingOptions
DocumentOnTypeFormattingParams
DocumentOnTypeFormattingRegistrationOptions
DocumentRangeFormattingParams
DocumentSymbol
DocumentSymbolParams
DynamicRegistration
ExecuteCommandOptions
ExecuteCommandParams
ExecuteCommandRegistrationOptions
FileEvent
FormattingOptions
Hover
InitializeError
InitializeParams
InitializeResult
Location
LogMessageParams
MarkedString
MarkupContent
MessageActionItem
Optional
ParameterInformation
Position
PublishDiagnosticsParams
ReferenceContext
ReferenceParams
Registration
RegistrationParams
RenameFile
RenameFileOptions
RenameParams
RequestMessage
RequestToken
ResponseError
ResponseMessage
SaveOptions
ServerCapabilities
ServerWorkspaceCapabilities
ShowMessageParams
ShowMessageRequestParams
SignatureHelp
SignatureHelpOptions
SignatureHelpRegistrationOptions
SignatureInformation
SymbolInformation
TextDocumentChangeRegistrationOptions
TextDocumentClientCapabilities
TextDocumentContentChangeEvent
TextDocumentEdit
TextDocumentIdentifier
TextDocumentItem
TextDocumentPositionParams
TextDocumentRegistrationOptions
TextDocumentSaveRegistrationOptions
TextDocumentSyncOptions
TextEdit
TextRange
Unregistration
UnregistrationParams
VersionedTextDocumentIdentifier
WillSaveTextDocumentParams
WorkspaceClientCapabilities
WorkspaceEdit
WorkspaceEditClientCapabilities
WorkspaceFolder
WorkspaceFoldersChangeEvent
WorkspaceSymbolParams