Module: Ruvi::EditorApp::HierarchyListExtension

Defined in:
lib/virtualbuffers.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#old_bufObject

Returns the value of attribute old_buf.



30
31
32
# File 'lib/virtualbuffers.rb', line 30

def old_buf
  @old_buf
end

Class Method Details

.clear_extension_buffers(app) ⇒ Object



37
38
39
# File 'lib/virtualbuffers.rb', line 37

def HierarchyListExtension.clear_extension_buffers app
    BaseFakeBufferModule.clear_extension_buffers app, HierarchyListExtension
end

.create_buffer(app) ⇒ Object



31
32
33
34
35
36
# File 'lib/virtualbuffers.rb', line 31

def HierarchyListExtension.create_buffer app
    clear_extension_buffers app
    b = BaseFakeBufferModule.new_ext_buffer app, HierarchyListExtension
    b.old_buf = app.current_buffer
    return b
end