Pārlūkot izejas kodu

【2025】【Edit】贝茨码模块自测处理

niehaoyu 4 mēneši atpakaļ
vecāks
revīzija
d2b9f51453

+ 49 - 9
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesController.swift

@@ -72,7 +72,6 @@ class KMBatesController: NSViewController {
         
         if editSubType == .template {
             templatesController.view.isHidden = false
-            templatesController.reloadData()
             
         } else if editSubType == .add {
             propertyController.view.isHidden = false
@@ -87,14 +86,23 @@ class KMBatesController: NSViewController {
     }
     
     func reloadData() {
-        resetUI()
         
         propertyController.totalPDFCount = totalPDFCount
-        propertyController.reloadData()
-        
+ 
         documentPreview.pdfDocument = pdfDocument
         documentPreview.reloadData()
-         
+        
+        if editSubType == .template {
+            templatesController.reloadData()
+            
+        } else if editSubType == .add {
+            propertyController.editSubType = editSubType
+            propertyController.reloadData()
+            
+        } else if editSubType == .edit {
+            propertyController.editSubType = editSubType
+            propertyController.reloadData()
+        }
     }
     
     func updatePDFDocumentBates() {
@@ -102,8 +110,8 @@ class KMBatesController: NSViewController {
             let cPDFBates = documentPreview.pdfDocument?.bates()
             cPDFBates?.pageString = "0"
             
-            var fontSize = data.fontsize
-            var fontName: String = data.fontName
+            let fontSize = data.fontsize
+            let fontName: String = data.fontName
 
             let font = NSFont.boldSystemFont(ofSize:fontSize)
             let style = NSMutableParagraphStyle()
@@ -159,15 +167,25 @@ extension KMBatesController: KMBatesPropertyControllerDelegate {
     }
     
     func batesPropertyControllerSaveTemplateSuccess(_ controller: KMBatesPropertyController, _ data: KMBatesModel) {
+        saveTemplateMessage.frame = CGRectMake((CGRectGetWidth(self.view.frame) - saveTemplateMessage.properties.propertyInfo.viewWidth)/2,
+                                               CGRectGetHeight(self.view.frame) - saveTemplateMessage.properties.propertyInfo.viewHeight - 8,
+                                               saveTemplateMessage.properties.propertyInfo.viewWidth,
+                                               saveTemplateMessage.properties.propertyInfo.viewHeight)
+        saveTemplateMessage.reloadData()
+        saveTemplateMessage.show(inView: self.view, autoHideSeconde: 2)
+        
         editSubType = .template
+        resetUI()
+        delegate?.kmBatesControllerDidUpdateMode?(self)
         
+        templatesController.selectedDataModel = data
         reloadData()
         
-        delegate?.kmBatesControllerDidUpdateMode?(self)
     }
     
     func batesPropertyControllerCancelTemplateEdit(_ controller: KMBatesPropertyController) {
         editSubType = .template
+        resetUI()
         
         reloadData()
         
@@ -177,6 +195,7 @@ extension KMBatesController: KMBatesPropertyControllerDelegate {
     
     func batesPropertyControllerFinishTemplateEdit(_ controller: KMBatesPropertyController) {
         editSubType = .template
+        resetUI()
         
         reloadData()
         
@@ -211,11 +230,32 @@ extension KMBatesController: KMBatesTemplateControllerDelegate {
     
     func templateControllerDidEditData(_ controller: KMBatesTemplateController, _ data: KMBatesModel) {
         editSubType = .edit
+        resetUI()
+        
+        if data.bottomLeftString.count > 0 {
+            propertyController.positionSelRow = 0
+            propertyController.positionSelColumn = 0
+        } else if data.bottomCenterString.count > 0 {
+            propertyController.positionSelRow = 0
+            propertyController.positionSelColumn = 1
+        } else if data.bottomRightString.count > 0 {
+            propertyController.positionSelRow = 0
+            propertyController.positionSelColumn = 2
+        } else if data.topLeftString.count > 0 {
+            propertyController.positionSelRow = 1
+            propertyController.positionSelColumn = 0
+        } else if data.topCenterString.count > 0 {
+            propertyController.positionSelRow = 1
+            propertyController.positionSelColumn = 1
+        } else if data.topRightString.count > 0 {
+            propertyController.positionSelRow = 1
+            propertyController.positionSelColumn = 2
+        }
         
         propertyController.batesModel = data
         propertyController.originalDataDict = KMBatesManager.defaultManager.parseModel(model: data)
         
-        resetUI()
+        reloadData()
         
         delegate?.kmBatesControllerDidUpdateMode?(self)
         

+ 9 - 0
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift

@@ -202,6 +202,10 @@ class KMBatesManager: NSObject {
         model.startString = dict["startString"] as! String
         model.tag = dict["tag"] as! String
         
+        if let value = dict.object(forKey: "name") {
+            model.name = dict["name"] as! String
+        }
+        
     }
     
     /**
@@ -233,6 +237,7 @@ class KMBatesManager: NSObject {
         dict["digits"] = model.digits
         dict["startString"] = model.startString
         dict["tag"] = model.tag
+        dict["name"] = model.name
          
         return dict
     }
@@ -268,6 +273,10 @@ class KMBatesManager: NSObject {
         if let value = dict["tag"] {
             model.tag = value as! String
         }
+        if let value = dict["name"] {
+            model.name = value as! String
+        }
+        
         
          
         return model

+ 12 - 4
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/Views/KMBatesPropertyController.swift

@@ -75,8 +75,8 @@ class KMBatesPropertyController: NSViewController {
     var groupView: ComponentGroup!
     
     private var familyNames = CPDFFont.familyNames
-    private var positionSelRow: Int = -1
-    private var positionSelColumn: Int = -1
+      var positionSelRow: Int = 1
+      var positionSelColumn: Int = 0
     private var isEditModeChanged: Bool = false //修改时,记录是否有做过调整
     
     var batesModel: KMBatesModel = KMBatesModel()
@@ -235,8 +235,8 @@ class KMBatesPropertyController: NSViewController {
     }
     
     func clearData() {
-        positionSelRow = -1
-        positionSelColumn = -1
+        positionSelRow = 1
+        positionSelColumn = 0
         totalPDFCount = 1
     }
     
@@ -441,6 +441,14 @@ class KMBatesPropertyController: NSViewController {
         }
     }
     
+    //MARK: - Mouse
+    override func mouseDown(with event: NSEvent) {
+        super.mouseDown(with: event)
+        
+        view.window?.makeFirstResponder(nil)
+        
+    }
+    
 }
 
 //MARK: - ComponentInputNumberDelegate

+ 4 - 7
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/Views/KMBatesTemplateController.swift

@@ -85,6 +85,7 @@ class KMBatesTemplateController: NSViewController {
             collectionView.isHidden = false
             collectionView.reloadData()
             
+            updateSelectedState()
         }
     }
     
@@ -112,8 +113,9 @@ class KMBatesTemplateController: NSViewController {
         } else {
             selectedDataModel = nil
         }
-        
-        delegate?.templateControllerDidSelectedChanged?(self)
+        DispatchQueue.main.async {
+            self.delegate?.templateControllerDidSelectedChanged?(self)
+        }
     }
     
     //MARK: - action
@@ -146,11 +148,6 @@ extension KMBatesTemplateController: NSCollectionViewDelegate, NSCollectionViewD
         let item: KMBatesTemplateItem = collectionView.makeItem(withIdentifier: NSUserInterfaceItemIdentifier(rawValue: "KMBatesTemplateItem"), for: indexPath) as! KMBatesTemplateItem
         item.delegate = self
         item.dataModel = KMBatesManager.defaultManager.datas[indexPath.item]
-        if let selData = selectedDataModel {
-            if item.dataModel == selData {
-                item.isSelected = true
-            }
-        }
         item.reloadData()
         
         return item

+ 2 - 0
PDF Office/PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift

@@ -1205,6 +1205,8 @@ import KMComponentLibrary
         batesViewController?.editSubType = editToolbarView?.editSubType ?? .template
         
         updateBatesDocument()
+        
+        batesViewController?.resetUI()
     }
     
     func updateBatesDocument() {

+ 369 - 71
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -2798,42 +2798,42 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "237"
-            endingLineNumber = "237"
-            landmarkName = "parseModel(model:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "57930CBD-2805-46CB-922C-2FE1DA77F585"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "211"
-            endingLineNumber = "211"
+            startingLineNumber = "242"
+            endingLineNumber = "242"
             landmarkName = "parseModel(model:)"
             landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "5034D0A4-DF2C-40C8-9F5A-ABCD21CF72F0"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "69"
-            endingLineNumber = "69"
-            landmarkName = "addTemplate(_:)"
-            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "035FC83E-1BC7-4E8D-BB99-80BC5969CA25 - a810645870b8aa64"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMBatesManager.parseDictionary(dict: __C.NSDictionary) -&gt; PDF_Reader_Pro.KMBatesModel"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "244"
+                  endingLineNumber = "244"
+                  offsetFromSymbolStart = "236">
+               </Location>
+               <Location
+                  uuid = "035FC83E-1BC7-4E8D-BB99-80BC5969CA25 - e464ff62ec50f003"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMBatesManager.parseModel(model: PDF_Reader_Pro.KMBatesModel) -&gt; Swift.Dictionary&lt;Swift.String, Any&gt;"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/EditTool/Bates/KMBatesManager.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "242"
+                  endingLineNumber = "242"
+                  offsetFromSymbolStart = "732">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3134,10 +3134,57 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "2366"
-            endingLineNumber = "2366"
-            landmarkName = "pdfViewEditingBlockDidChanged(_:)"
+            startingLineNumber = "2368"
+            endingLineNumber = "2368"
+            landmarkName = "pdfViewDidClick(onLink:withURL:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "18021D19-EAF7-4279-A121-953E8941B3AE - 28f6d780ec8ae273"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfViewDidClick(onLink: Swift.Optional&lt;__C.CPDFView&gt;, withURL: Swift.Optional&lt;Swift.String&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2368"
+                  endingLineNumber = "2368"
+                  offsetFromSymbolStart = "804">
+               </Location>
+               <Location
+                  uuid = "18021D19-EAF7-4279-A121-953E8941B3AE - 28f6d780ec8ae273"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfViewDidClick(onLink: Swift.Optional&lt;__C.CPDFView&gt;, withURL: Swift.Optional&lt;Swift.String&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2368"
+                  endingLineNumber = "2368"
+                  offsetFromSymbolStart = "324">
+               </Location>
+               <Location
+                  uuid = "18021D19-EAF7-4279-A121-953E8941B3AE - 28f6d780ec8ae273"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfViewDidClick(onLink: Swift.Optional&lt;__C.CPDFView&gt;, withURL: Swift.Optional&lt;Swift.String&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2368"
+                  endingLineNumber = "2368"
+                  offsetFromSymbolStart = "564">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3293,10 +3340,42 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "2848"
-            endingLineNumber = "2848"
-            landmarkName = "pdfListViewMenuItemsEditing(at:for:menuItems:)"
+            startingLineNumber = "2850"
+            endingLineNumber = "2850"
+            landmarkName = "pdfListViewLinkDestinationStart(_:withActiveAnnotation:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "CA957B0F-74F0-4ECF-9BE5-F996315D44F7 - 3bb3816cf1b4c1ae"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewLinkDestinationStart(_: Swift.Optional&lt;__C.CPDFListView&gt;, withActiveAnnotation: Swift.Optional&lt;__C.CPDFAnnotation&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2850"
+                  endingLineNumber = "2850"
+                  offsetFromSymbolStart = "32">
+               </Location>
+               <Location
+                  uuid = "CA957B0F-74F0-4ECF-9BE5-F996315D44F7 - 3bb3816cf1b4c189"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewLinkDestinationStart(_: Swift.Optional&lt;__C.CPDFListView&gt;, withActiveAnnotation: Swift.Optional&lt;__C.CPDFAnnotation&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2851"
+                  endingLineNumber = "2851"
+                  offsetFromSymbolStart = "44">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3309,10 +3388,57 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "2666"
-            endingLineNumber = "2666"
+            startingLineNumber = "2668"
+            endingLineNumber = "2668"
             landmarkName = "pdfListViewKeyDownIsContinue(_:theEvent:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "E36E1A66-A8B1-4248-9550-68D820499376 - 680781a588394e14"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewKeyDownIsContinue(_: Swift.Optional&lt;__C.CPDFListView&gt;, theEvent: Swift.Optional&lt;__C.NSEvent&gt;) -&gt; Swift.Bool"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2668"
+                  endingLineNumber = "2668"
+                  offsetFromSymbolStart = "9360">
+               </Location>
+               <Location
+                  uuid = "E36E1A66-A8B1-4248-9550-68D820499376 - 680781a588394e14"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewKeyDownIsContinue(_: Swift.Optional&lt;__C.CPDFListView&gt;, theEvent: Swift.Optional&lt;__C.NSEvent&gt;) -&gt; Swift.Bool"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2668"
+                  endingLineNumber = "2668"
+                  offsetFromSymbolStart = "9140">
+               </Location>
+               <Location
+                  uuid = "E36E1A66-A8B1-4248-9550-68D820499376 - 680781a588394e37"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewKeyDownIsContinue(_: Swift.Optional&lt;__C.CPDFListView&gt;, theEvent: Swift.Optional&lt;__C.NSEvent&gt;) -&gt; Swift.Bool"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2669"
+                  endingLineNumber = "2669"
+                  offsetFromSymbolStart = "9152">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3325,10 +3451,42 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "2807"
-            endingLineNumber = "2807"
-            landmarkName = "pdfListViewLinkDestinationStart(_:withActiveAnnotation:)"
+            startingLineNumber = "2809"
+            endingLineNumber = "2809"
+            landmarkName = "pdfListViewChangeatioActiveAnnotations(_:forActiveAnnotations:isRightMenu:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "829A2007-5055-4924-B2CB-8003D30BE87C - f9f96c359432ca65"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewChangeatioActiveAnnotations(_: Swift.Optional&lt;__C.CPDFListView&gt;, forActiveAnnotations: Swift.Optional&lt;Swift.Array&lt;__C.CPDFAnnotation&gt;&gt;, isRightMenu: Swift.Bool) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2809"
+                  endingLineNumber = "2809"
+                  offsetFromSymbolStart = "5600">
+               </Location>
+               <Location
+                  uuid = "829A2007-5055-4924-B2CB-8003D30BE87C - f9f96c359432ca65"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.pdfListViewChangeatioActiveAnnotations(_: Swift.Optional&lt;__C.CPDFListView&gt;, forActiveAnnotations: Swift.Optional&lt;Swift.Array&lt;__C.CPDFAnnotation&gt;&gt;, isRightMenu: Swift.Bool) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2809"
+                  endingLineNumber = "2809"
+                  offsetFromSymbolStart = "5604">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3363,22 +3521,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "9FE66935-FDEE-4B85-829B-48C831A9B255"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/PDFListView/CPDFListViewExtension/CPDFListView+Event.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "47"
-            endingLineNumber = "47"
-            landmarkName = "-mouseDown:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -3389,10 +3531,57 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "3816"
-            endingLineNumber = "3816"
-            landmarkName = "exitRedact()"
+            startingLineNumber = "3818"
+            endingLineNumber = "3818"
+            landmarkName = "enterRedact()"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "92759DD6-8CD9-4B54-BF74-D83EF6A6D5A5 - 541e1e6252d62eb7"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "closure #3 (Swift.Bool, Swift.Int, Swift.Bool, Swift.Optional&lt;Foundation.URL&gt;) -&gt; () in PDF_Reader_Pro.KMMainViewController.enterRedact() -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "3818"
+                  endingLineNumber = "3818"
+                  offsetFromSymbolStart = "1772">
+               </Location>
+               <Location
+                  uuid = "92759DD6-8CD9-4B54-BF74-D83EF6A6D5A5 - 541e1e6252d62e90"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "closure #3 (Swift.Bool, Swift.Int, Swift.Bool, Swift.Optional&lt;Foundation.URL&gt;) -&gt; () in PDF_Reader_Pro.KMMainViewController.enterRedact() -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "3819"
+                  endingLineNumber = "3819"
+                  offsetFromSymbolStart = "1264">
+               </Location>
+               <Location
+                  uuid = "92759DD6-8CD9-4B54-BF74-D83EF6A6D5A5 - 541e1e6252d62eb7"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "closure #3 (Swift.Bool, Swift.Int, Swift.Bool, Swift.Optional&lt;Foundation.URL&gt;) -&gt; () in PDF_Reader_Pro.KMMainViewController.enterRedact() -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "3818"
+                  endingLineNumber = "3818"
+                  offsetFromSymbolStart = "1264">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3405,10 +3594,42 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "4107"
-            endingLineNumber = "4107"
-            landmarkName = "enterPageEdit(_:)"
-            landmarkType = "7">
+            startingLineNumber = "4109"
+            endingLineNumber = "4109"
+            landmarkName = "KMMainViewController"
+            landmarkType = "21">
+            <Locations>
+               <Location
+                  uuid = "C11A5EAB-3C0F-444C-8EDC-40823949B391 - 52fc15055dd35ed3"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "default argument 0 of PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4109"
+                  endingLineNumber = "4109"
+                  offsetFromSymbolStart = "20">
+               </Location>
+               <Location
+                  uuid = "C11A5EAB-3C0F-444C-8EDC-40823949B391 - 4236ac58eccf6589"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4109"
+                  endingLineNumber = "4109"
+                  offsetFromSymbolStart = "344">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -3421,10 +3642,87 @@
             filePath = "PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "4148"
-            endingLineNumber = "4148"
-            landmarkName = "exitPageEdit()"
+            startingLineNumber = "4150"
+            endingLineNumber = "4150"
+            landmarkName = "enterPageEdit(_:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 4236ac58eccf60ff"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4151"
+                  endingLineNumber = "4151"
+                  offsetFromSymbolStart = "2776">
+               </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 8dcf3461f25b264f"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "closure #2 (Swift.Int, Any...) -&gt; () in PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4151"
+                  endingLineNumber = "4151"
+                  offsetFromSymbolStart = "284">
+               </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 7781c9841a673ab7"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "closure #1 @Swift.MainActor () -&gt; () in closure #2 (Swift.Int, Any...) -&gt; () in PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4151"
+                  endingLineNumber = "4151"
+                  offsetFromSymbolStart = "72">
+               </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 4236ac58eccf60ff"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4151"
+                  endingLineNumber = "4151"
+                  offsetFromSymbolStart = "2432">
+               </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 4236ac58eccf60d0"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4150"
+                  endingLineNumber = "4150"
+                  offsetFromSymbolStart = "2432">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy