Method: Textbringer::Buffer#byte_after

Defined in:
lib/textbringer/buffer.rb

#byte_after(location = @point) ⇒ Object



448
449
450
451
452
453
454
# File 'lib/textbringer/buffer.rb', line 448

def byte_after(location = @point)
  if location < @gap_start
    @contents.byteslice(location)
  else
    @contents.byteslice(location + gap_size)
  end
end