lib/core/view_container.rb
def copy_vassal_view(view)
    # Copy this view to a new one. Both views needs to point to the same
    # buffer.
    new_view = CSTE::View.new(
      view.buffer, view.init_col, view.init_line, view.cols, view.lines)

    # This container is the lord of those views.
    view.lord = self
    new_view.lord = self

    return new_view
  end
# Create a new view that points to the same buffer.
Create a new view that points to the same buffer.
Create a new view that points to the same buffer .
def copy_vassal_view(view)
    new_view = CSTE::View.new(
      view.buffer, view.init_col, view.init_line, view.cols, view.lines)
    view.lord = self
    new_view.lord = self
    return new_view
  end
def copy_vassal_view ( view ) new_view = CSTE :: View . new ( view . buffer , view . init_col , view . init_line , view . cols , view . lines ) view . lord = self new_view . lord = self return new_view end
Create a new view that points to the same buffer.
Create a new view that points to the same buffer .
# Copy this view to a new one. Both views needs to point to the same # buffer. # This container is the lord of those views.
view