Module: Ruvi::EditorApp::BaseFakeBufferModule

Defined in:
lib/virtualbuffers.rb

Class Method Summary collapse

Class Method Details

.clear_extension_buffers(app, extension) ⇒ Object



11
12
13
# File 'lib/virtualbuffers.rb', line 11

def BaseFakeBufferModule.clear_extension_buffers app, extension
    app.clear_buffers_with_extension BaseFakeBufferModule
end

.new_ext_buffer(app, extension) ⇒ Object



6
7
8
9
10
# File 'lib/virtualbuffers.rb', line 6

def BaseFakeBufferModule.new_ext_buffer app, extension
    b = EditorApp.new_buffer app, :no_blank_line, :fake_buffer
    b.extend extension
    return b
end