Method: Textbringer::Buffer#push_global_mark
- Defined in:
- lib/textbringer/buffer.rb
#push_global_mark(pos = @point, force: false) ⇒ Object
910 911 912 913 914 915 916 917 918 919 |
# File 'lib/textbringer/buffer.rb', line 910 def push_global_mark(pos = @point, force: false) if force || !on_global_mark_ring? mark = new_mark mark.location = pos Buffer.global_mark_ring.push(mark) true else false end end |