Exemplo n.º 1
0
Arquivo: actions.py Projeto: Silox/eva
def open_scratchpad():
    scratchpad = db.get_scratchpad()
    new_content = ui.ask_from_editor(scratchpad.content)
    scratchpad.content = new_content
Exemplo n.º 2
0
def open_scratchpad():
    old_content = db.get_scratchpad_content()
    new_content = ui.ask_from_editor(old_content)
    db.set_scratchpad_content(new_content)