Method: Textbringer::Buffer#set_mark
- Defined in:
- lib/textbringer/buffer.rb
#set_mark(pos = @point) ⇒ Object
871 872 873 874 875 876 877 |
# File 'lib/textbringer/buffer.rb', line 871 def set_mark(pos = @point) if @mark @mark.location = pos else push_mark(pos) end end |