|
@@ -5753,6 +5753,8 @@ extension KMMainViewController: KMCropControllerDelegate {
|
|
|
}
|
|
|
botaViewController?.reloadData()
|
|
|
botaViewController?.currentPageDidChangedAction(listView: listView)
|
|
|
+
|
|
|
+ self.recordIsPDFDocumentEdited()
|
|
|
}
|
|
|
|
|
|
func kmCropControllerDidCropSeparate(_ controller: KMCropController, _ view: KMPageRangeSelectView) {
|
|
@@ -5781,6 +5783,8 @@ extension KMMainViewController: KMCropControllerDelegate {
|
|
|
toolbarVC.refreshSecondToolbarItemsState()
|
|
|
self.kmPDFToolbarControllerDidToolbarItemClicked(toolbarVC, KMPDFToolbar_edit_crop_Identifier)
|
|
|
}
|
|
|
+
|
|
|
+ self.recordIsPDFDocumentEdited()
|
|
|
}
|
|
|
|
|
|
func kmCropControllerDidCropAuto(_ controller: KMCropController, _ view: KMPageRangeSelectView, _ rect: CGRect) {
|
|
@@ -5805,6 +5809,8 @@ extension KMMainViewController: KMCropControllerDelegate {
|
|
|
toolbarVC.refreshSecondToolbarItemsState()
|
|
|
self.kmPDFToolbarControllerDidToolbarItemClicked(toolbarVC, KMPDFToolbar_edit_crop_Identifier)
|
|
|
}
|
|
|
+
|
|
|
+ self.recordIsPDFDocumentEdited()
|
|
|
}
|
|
|
|
|
|
func kmCropControllerDidChangedSelectionOrMagnification(_ controller: KMCropController) {
|
|
@@ -8999,13 +9005,7 @@ extension KMMainViewController {
|
|
|
let alert = NSAlert()
|
|
|
alert.alertStyle = .informational
|
|
|
alert.informativeText = KMLocalizedString("Redaction allows you to permanently mask and remove sensitive content.")
|
|
|
- alert.messageText = KMLocalizedString("""
|
|
|
- Redaction requires two steps:
|
|
|
- 1. Mark for Redaction
|
|
|
- 2. Apply Redactions
|
|
|
-
|
|
|
- Note: Redactions are not applied permanently until you select Apply Redactions.
|
|
|
- """)
|
|
|
+ alert.messageText = KMLocalizedString("Redaction requires two steps:\n1. Mark for Redaction\n2. Apply Redactions")
|
|
|
alert.addButton(withTitle: KMLocalizedString("OK"))
|
|
|
alert.showsSuppressionButton = true
|
|
|
let response = alert.runModal()
|
|
@@ -9619,6 +9619,10 @@ extension KMMainViewController {
|
|
|
return event
|
|
|
}
|
|
|
if event.keyCode == 53 {
|
|
|
+ if self?.view.window?.isFullScreen() == true {
|
|
|
+ self?.view.window?.toggleFullScreen(nil)
|
|
|
+ return nil
|
|
|
+ }
|
|
|
self?.listView.keyDown(with: event)
|
|
|
return nil
|
|
|
} else {
|