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

Constants

METHOD

Public Instance Methods

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