Method: Textbringer::Buffer#next_line

Defined in:
lib/textbringer/buffer.rb

#next_line(n = 1) ⇒ Object



729
730
731
732
733
734
735
736
737
# File 'lib/textbringer/buffer.rb', line 729

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