class RubyLsp::Document::Scanner

Constants

>LINE_BREAK
>SURROGATE_PAIR_START

After character 0xFFFF, UTF-16 considers characters to have length 2 and we have to account for that

Public Class Methods

new(source, encoding)

Public Instance Methods

find_char_position(position)

utf_16_character_position_correction(current_position, requested_position)