Method: Textbringer::Buffer#next_line

Defined in:
lib/textbringer/buffer.rb

#next_line(n = 1) ⇒ Object



699
700
701
702
703
704
705
706
707
# File 'lib/textbringer/buffer.rb', line 699

def next_line(n = 1)
  column = get_goal_column
  n.times do
    end_of_line
    forward_char
    adjust_column(column)
  end
  @goal_column = column
end