class Reline::LineEditor

def ed_next_history(key, arg: 1)

def ed_next_history(key, arg: 1)
_multiline and @line_index < (@buffer_of_lines.size - 1)
vious_line_index = @line_index
e_index += 1
rn
story_pointer.nil?
rn
@history_pointer == (Reline::HISTORY.size - 1)
is_multiline
istory_pointer = nil
uffer_of_lines = @line_backup_in_history.split("\n")
uffer_of_lines = [String.new(encoding: @encoding)] if @buffer_of_lines.empty?
ine_index = 0
ine = @buffer_of_lines.first
erender_all = true

istory_pointer = nil
ine = @line_backup_in_history
is_multiline
line::HISTORY[@history_pointer] = whole_buffer
istory_pointer += 1
uffer_of_lines = Reline::HISTORY[@history_pointer].split("\n")
uffer_of_lines = [String.new(encoding: @encoding)] if @buffer_of_lines.empty?
ine_index = 0
ine = @buffer_of_lines.first
erender_all = true

line::HISTORY[@history_pointer] = @line
istory_pointer += 1
ine = Reline::HISTORY[@history_pointer]
= '' unless @line
nfig.editing_mode_is?(:emacs, :vi_insert)
sor_max = @cursor = calculate_width(@line)
e_pointer = @line.bytesize
@config.editing_mode_is?(:vi_command)
e_pointer = @cursor = 0
sor_max = calculate_width(@line)
 1
t_history(key, arg: arg) if arg > 0