Sha256: 44d37dfd583e36c4cbc4eb7264b186446f5a7571f2cf6bf51456037bb1f993ee

Contents?: true

Size: 898 Bytes

Versions: 102

Compression:

Stored size: 898 Bytes

Contents

module LanguageServer
  module Protocol
    module Constant
      #
      # A type indicating how positions are encoded,
      # specifically what column offsets mean.
      # A set of predefined position encoding kinds.
      #
      module PositionEncodingKind
        #
        # Character offsets count UTF-8 code units (e.g bytes).
        #
        UTF8 = 'utf-8'
        #
        # Character offsets count UTF-16 code units.
        #
        # This is the default and must always be supported
        # by servers
        #
        UTF16 = 'utf-16'
        #
        # Character offsets count UTF-32 code units.
        #
        # Implementation note: these are the same as Unicode code points,
        # so this `PositionEncodingKind` may also be used for an
        # encoding-agnostic representation of character offsets.
        #
        UTF32 = 'utf-32'
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 13 rubygems

Version Path
language_server-protocol-3.17.0.4 lib/language_server/protocol/constant/position_encoding_kind.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.5 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.4 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.3 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.2 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.1 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
study_line-0.2.0 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/language_server-protocol-3.17.0.3/lib/language_server/protocol/constant/position_encoding_kind.rb