rename buffer.attr['current_offset'] to buffer.attr['preferred-line-offset']