class Reline::LineEditor
def em_lower_case(key)
def em_lower_case(key) ne.bytesize > @byte_pointer _size, = Reline::Unicode.em_forward_word(@line, @byte_pointer) = @line.byteslice(@byte_pointer, byte_size).grapheme_clusters.map { |mbchar| char =~ /[A-Z]/ ? mbchar.downcase : mbchar in = @line.byteslice((@byte_pointer + byte_size)..-1) e = @line.byteslice(0, @byte_pointer) + part e_pointer = @line.bytesize sor = calculate_width(@line) sor_max = @cursor + calculate_width(rest) e += rest