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

Constants

METHOD

Public Instance Methods

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