class TypeProf::LSP::Message::TextDocument::DidChange

Constants

METHOD

Public Instance Methods

cancel() click to toggle source
# File typeprof-0.21.9/lib/typeprof/lsp.rb, line 584
def cancel
  puts "cancel"
end
run() click to toggle source
# File typeprof-0.21.9/lib/typeprof/lsp.rb, line 575
def run
  case @params
  in { textDocument: { uri:, version: }, contentChanges: changes }
  else
    raise
  end
  @server.open_texts[uri]&.apply_changes(changes, version)
end