Ejemplo n.º 1
0
bool EditFiles::handleKeyPress(GdkEvent *event)
    {
    bool handled = false;
    if(getEditView())
        handled = getEditView()->handleKeys(event);
    return handled;
    }
Ejemplo n.º 2
0
OovStatusReturn EditFiles::saveAsTextFileWithDialog()
    {
    FileEditView *editView = getEditView();
    OovStatus status = editView->saveAsTextFileWithDialog();
    if(status.ok())
        {
        setTabText(editView, editView->getFileName());
        }
    return status;
    }
Ejemplo n.º 3
0
bool EditFiles::saveAsTextFileWithDialog()
    {
    FileEditView *editView = getEditView();
    bool saved = editView->saveAsTextFileWithDialog();
    if(saved)
        {
        setTabText(editView, editView->getFileName());
        }
    return saved;
    }