Method: Textbringer::Buffer#new_mark

Defined in:
lib/textbringer/buffer.rb

#new_mark(location = @point) ⇒ Object



754
755
756
757
758
# File 'lib/textbringer/buffer.rb', line 754

def new_mark(location = @point)
  Mark.new(self, location).tap { |m|
    @marks << m
  }
end