CustomReadonlyEditorProvider.Make
module T : CustomDocument.T
val openCustomDocument :
t ->
uri:Uri.t ->
openContext:CustomDocumentOpenContext.t ->
token:CancellationToken.t ->
T.t Promise.t
val resolveCustomEditor :
t ->
document:T.t ->
webviewPanel:WebviewPanel.t ->
token:CancellationToken.t ->
unit Promise.t
val create :
resolveCustomEditor:
(document:T.t ->
webviewPanel:WebviewPanel.t ->
token:CancellationToken.t ->
unit Promise.t) ->
openCustomDocument:
(uri:Uri.t ->
openContext:CustomDocumentOpenContext.t ->
token:CancellationToken.t ->
T.t Promise.t) ->
t