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