Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::Highlights::TextHighlight

Inherits:
Base
  • Object
show all
Defined in:
lib/rucoa/handlers/text_document_document_highlight_handler.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::TextDocumentDocumentHighlightHandler::Highlights::Base

Instance Method Details

#to_vscode_highlightHash

Returns:

  • (Hash)


47
48
49
50
51
52
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 47

def to_vscode_highlight
  {
    kind: 1,
    range: vscode_range
  }
end