123456789_123456789_123456789_123456789_123456789_

Class: TypeProf::LSP::Message::TextDocument::DidChange

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: TypeProf::LSP::Message
Defined in: lib/typeprof/lsp.rb

Constant Summary

::TypeProf::LSP::Message - Inherited

Classes, Table

Class Method Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from TypeProf::LSP::Message

Instance Method Details

#cancel

[ GitHub ]

  
# File 'lib/typeprof/lsp.rb', line 584

def cancel
  puts "cancel"
end

#run

[ GitHub ]

  
# File '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