'makes the application object and the buffers'

def create_application(self, full_layout=True):

    if full_layout:
        layout = create_layout(self.lexer, ExampleLexer, ToolbarLexer)
    else:
        layout = create_tutorial_layout(self.lexer)
    buffers = {DEFAULT_BUFFER: Buffer(is_multiline=True), u'description': Buffer(is_multiline=True, read_only=True), u'parameter': Buffer(is_multiline=True, read_only=True), u'examples': Buffer(is_multiline=True, read_only=True), u'bottom_toolbar': Buffer(is_multiline=True), u'example_line': Buffer(is_multiline=True), u'default_values': Buffer(), u'symbols': Buffer(), u'progress': Buffer(is_multiline=False)}
    writing_buffer = Buffer(history=self.history, auto_suggest=AutoSuggestFromHistory(), enable_history_search=True, completer=self.completer, complete_while_typing=Always())
    return Application(mouse_support=False, style=self.styles, buffer=writing_buffer, on_input_timeout=self.on_input_timeout, key_bindings_registry=registry, layout=layout, buffers=buffers)
