Browse Source

【2025】【Home】打开文件流程串接,多语处理

niehaoyu 4 months ago
parent
commit
4c151d9d85

+ 336 - 0
PDF Office/PDF Master/KMClass/KMHomeViewController/KMNHomeViewController.swift

@@ -16,7 +16,10 @@ class KMNHomeViewController: NSViewController {
    
     @IBOutlet var rightInfoView: KMHomeRightView!
     
+    @IBOutlet var homeDragView: KMHomeDragView!
+     
     var demoVC: WCCompWindowController = WCCompWindowController(windowNibName: "WCCompWindowController")
+    
     override func viewDidLoad() {
         super.viewDidLoad()
         // Do view setup here.
@@ -27,6 +30,9 @@ class KMNHomeViewController: NSViewController {
         self.configRightContendView()
         
         self.initAdvertisementData()
+        
+        homeDragView.delegate = self
+        
     }
     
     override func viewDidAppear() {
@@ -162,3 +168,333 @@ extension KMNHomeViewController: KMNQuickToolWindowDelegate {
     
 }
 
+//MARK: - KMHomeDragViewDelegate
+extension KMNHomeViewController: KMHomeDragViewDelegate {
+    func homeDragView(_ viewController: KMHomeDragView, filePath: URL) {
+        self.openFile(withFilePath: filePath)
+
+    }
+}
+
+//MARK: - Open Files
+extension KMNHomeViewController {
+    
+    func openFile(withFilePath path: URL) -> Void {
+        let type = path.pathExtension.lowercased()
+        if (type == "pdf") {
+            self.openHistoryFilePath(url: path)
+        } else if (type == "jpg") ||
+                  (type == "cur") ||
+                  (type == "bmp") ||
+                  (type == "jpeg") ||
+                  (type == "gif") ||
+                  (type == "png") ||
+                  (type == "tiff") ||
+                  (type == "tif") ||
+                  (type == "ico") ||
+                  (type == "icns") ||
+                  (type == "tga") ||
+                  (type == "psd") ||
+                  (type == "eps") ||
+                  (type == "hdr") ||
+                  (type == "jp2") ||
+                  (type == "jpc") ||
+                  (type == "pict") ||
+                  (type == "sgi") ||
+                  (type == "heic") {
+            openImageFile(url: path)
+        } else if (type == "doc") ||
+                  (type == "docx") ||
+                  (type == "xls") ||
+                  (type == "xlsx") ||
+                  (type == "ppt") ||
+                  (type == "pptx") ||
+                  (type == "pptx") {
+            let fileName: NSString = String(format: "%@.pdf", NSLocalizedString("Untitled", comment: "")) as NSString
+            let savePath = fetchUniquePath(fileName.kUrlToPDFFolderPath() as String)
+            openOfficeFile(url: path)
+        }
+        
+        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.3) {
+            self.rightInfoView.reloadData()
+        }
+    }
+    
+    func openHistoryFilePath(url: URL) -> Void {
+        if !url.path.isPDFValid() {
+            let alert = NSAlert()
+            alert.alertStyle = .critical
+            alert.messageText = NSLocalizedString("An error occurred while opening this document. The file is damaged and could not be repaired.", comment: "")
+            alert.beginSheetModal(for: view.window!) { [weak self] result in
+                self?.rightInfoView.reloadData()
+
+            }
+            return
+        }
+     
+        if url.pathExtension.lowercased() == "pdf" {
+            let pdfDoc = CPDFDocument.init(url: url)
+            if pdfDoc != nil {
+                let document = NSDocumentController.shared.document(for: url)
+                var alreadyOpen = false
+                for openDocument in NSDocumentController.shared.documents {
+                    if document == openDocument {
+                        alreadyOpen = true
+                    }
+                }
+                if !alreadyOpen {
+                    let controll: KMBrowserWindowController? = self.view.window?.windowController as? KMBrowserWindowController
+                    if controll?.browser?.tabCount() ?? 0 > 1{
+                        if !IAPProductsManager.default().isAvailableAllFunction() {
+                            showLimitWindowAlert(url: url)
+                            return
+                        }else {
+                            
+                        }
+                    }
+                }
+                
+                KMMainDocument().tryToUnlockDocument(pdfDoc!)
+                var selectDocument: KMMainDocument? = nil
+                if ((document?.isKind(of: KMMainDocument.self)) != nil) {
+                    selectDocument = (document as! KMMainDocument)
+                }
+                if selectDocument != nil {
+                    if selectDocument?.browser != nil {
+                        let currentIndex = selectDocument?.browser.tabStripModel.index(of: selectDocument) ?? 0
+                        selectDocument?.browser.tabStripModel.selectTabContents(at: Int32(currentIndex), userGesture: true)
+                        let isVisible: Bool = selectDocument?.browser.window.isVisible ?? false
+                        let isMiniaturized: Bool = selectDocument?.browser.window.isMiniaturized ?? false
+                        
+                        if isVisible {
+                            selectDocument?.browser.window.orderFront(nil)
+                        } else if isMiniaturized {
+                            selectDocument?.browser.window.orderFront(nil)
+                        }
+                    }
+                } else {
+                    NSDocumentController.shared.km_safe_openDocument(withContentsOf: url, display: true) { _, _, _ in
+                        
+                    }
+                }
+            } else {
+                let alert = NSAlert()
+                alert.alertStyle = .critical
+                alert.messageText = NSLocalizedString("An error occurred while opening this document. The file is damaged and could not be repaired.", comment: "")
+                alert.beginSheetModal(for: view.window!) { [weak self] result in
+                    self?.rightInfoView.reloadData()
+                }
+            }
+        } else {
+            NSWorkspace.shared.open(url)
+        }
+    }
+    
+    func openImageFile(url: URL) -> Void {
+        var filePath = url.path
+        
+        let fileName: NSString = url.lastPathComponent as NSString
+        let savePath = fetchUniquePath(fileName.kUrlToPDFFolderPath() as String).deletingLastPathComponent
+
+        let imageName = NSString(string: NSString(string: filePath).lastPathComponent).deletingPathExtension
+        
+        let path = self.fetchDifferentFilePath(filePath: savePath + "/" + imageName + ".pdf")
+        
+        if (!FileManager.default.fileExists(atPath: path.deletingLastPathComponent as String)) {
+            try?FileManager.default.createDirectory(atPath: path.deletingLastPathComponent as String, withIntermediateDirectories: true, attributes: nil)
+        }
+        
+        if (!FileManager.default.fileExists(atPath: path as String)) {
+            FileManager.default.createFile(atPath: path as String, contents: nil)
+        }
+
+        let document = CPDFDocument.init()
+        var success = false
+        
+        if NSString(string: NSString(string: filePath).lastPathComponent).pathExtension == "png" ||
+           NSString(string: NSString(string: filePath).lastPathComponent).pathExtension == "PNG" {
+            let jpgPath = self.fetchDifferentFilePath(filePath: savePath + "/" + imageName + ".jpg")
+            if (!FileManager.default.fileExists(atPath: jpgPath as String)) {
+                FileManager.default.createFile(atPath: jpgPath as String, contents: nil)
+            }
+
+            // 加载 PNG 图像
+            guard let pngImage = NSImage(contentsOfFile: filePath) else {
+                KMPrint("Failed to load PNG image")
+                return
+            }
+
+            // 创建 NSBitmapImageRep 对象,并将 PNG 图像绘制到其中
+            let bitmap = NSBitmapImageRep(data: pngImage.tiffRepresentation!)
+            guard let bitmap = bitmap else {
+                return
+            }
+            let rect = NSRect(origin: .zero, size: bitmap.size)
+            bitmap.draw(in: rect)
+
+            // 将 PNG 图像数据转换为 JPG 图像数据
+            guard let jpgData = bitmap.representation(using: .jpeg, properties: [:]) else {
+                KMPrint("Failed to convert PNG to JPG")
+                return
+            }
+
+            // 保存 JPG 图像数据到文件
+            let fileURL = URL(fileURLWithPath: jpgPath)
+            do {
+                try jpgData.write(to: fileURL)
+                filePath = fileURL.path
+                KMPrint("JPG image saved successfully")
+            } catch {
+                KMPrint("Failed to save JPG image: \(error.localizedDescription)")
+            }
+        }
+ 
+        let image = NSImage(contentsOfFile: filePath)
+        let insertPageSuccess = document?.insertPage(image!.size, withImage: filePath, at: document!.pageCount)
+        if insertPageSuccess != nil {
+            //信号量控制异步
+            let semaphore = DispatchSemaphore(value: 0)
+            DispatchQueue.global().async {
+                success = ((document?.write(toFile: path)) != nil)
+                semaphore.signal()
+            }
+            semaphore.wait()
+        } else {
+        }
+        if success {
+            NSDocumentController.shared.km_safe_openDocument(withContentsOf: URL(fileURLWithPath: path), display: true) { document, isOpened, error in
+                if error != nil {
+                    NSApp.presentError(error!)
+                } else {
+                    if FileManager.default.fileExists(atPath: filePath) {
+                        try? FileManager.default.removeItem(atPath: filePath)
+                    }
+                    if document is KMMainDocument {
+                        let newDocument = document
+                        (newDocument as! KMMainDocument).isNewCreated = true
+                    }
+                }
+            }
+        }
+    }
+    
+    func openOfficeFile(url: URL) -> Void {
+        let filePath = url.path
+        let folderPath = "convertToPDF.pdf"
+        let savePath: String? = folderPath.kUrlToPDFFolderPath() as String
+        
+        if (!FileManager.default.fileExists(atPath: savePath!.deletingLastPathComponent as String)) {
+            try?FileManager.default.createDirectory(atPath: savePath!.deletingLastPathComponent as String, withIntermediateDirectories: true, attributes: nil)
+        }
+        
+        if (!FileManager.default.fileExists(atPath: savePath! as String)) {
+            FileManager.default.createFile(atPath: savePath! as String, contents: nil)
+        }
+
+        if savePath == nil {
+            return
+        }
+        KMConvertPDFManager.convertFile(filePath, savePath: savePath!) { success, errorDic in
+            if errorDic != nil || !success || !FileManager.default.fileExists(atPath: savePath!) {
+                if FileManager.default.fileExists(atPath: savePath!) {
+                    try?FileManager.default.removeItem(atPath: savePath!)
+                }
+                let alert = NSAlert.init()
+                alert.alertStyle = .critical
+                var infoString = ""
+                if errorDic != nil {
+                    for key in (errorDic! as Dictionary).keys {
+                        infoString = infoString.appendingFormat("%@\n", errorDic![key] as! CVarArg)
+                    }
+                }
+                alert.informativeText = NSLocalizedString("Please install Microsoft Office to create PDFs from Office files", comment: "")
+                alert.messageText = NSLocalizedString("Failed to Create PDF", comment: "")
+                alert.addButton(withTitle: NSLocalizedString("OK", comment: ""))
+                alert.runModal()
+                return
+            }
+            
+            NSDocumentController.shared.km_safe_openDocument(withContentsOf: URL(fileURLWithPath: savePath!), display: true) { _, _, _ in
+                
+            }
+        }
+    }
+    
+    func showLimitWindowAlert(url: URL?) {
+        if !KMDataManager.default.isTabbingWin{
+            KMDataManager.default.isTabbingWin = true
+            let tabbingWin: KMTabbingHintWindowController = KMTabbingHintWindowController()
+            tabbingWin.selectCallBack = {[weak self] continueOrNot in
+                KMDataManager.default.isTabbingWin = false
+                if continueOrNot {
+                    self?.reopenDocument(forPaths: url)
+                } else {
+                    
+                }
+            }
+            self.km_beginSheet(windowC: tabbingWin)
+        }
+    }
+     
+    func reopenDocument(forPaths path: URL?) -> Void {
+        if path == nil {
+            let browser = KMBrowser.init() as KMBrowser
+            browser.windowController = KMBrowserWindowController.init(browser: browser)
+            browser.addHomeTabContents()
+            browser.windowController.showWindow(self)
+        }else {
+            let browser = KMBrowser.init() as KMBrowser
+            browser.windowController = KMBrowserWindowController.init(browser: browser)
+            browser.addHomeTabContents()
+            browser.windowController.showWindow(self)
+            NSDocumentController.shared.km_safe_openDocument(withContentsOf: path!, display: true) { doc, open, err in
+                
+            }
+        }
+    }
+    
+    func fetchUniquePath(_ originalPath: String) -> String {
+        var path = originalPath
+        let dManager = FileManager.default
+        if !dManager.fileExists(atPath: path) {
+            if path.extension.count < 1 {
+                path = path.stringByAppendingPathExtension("pdf")
+            }
+            return path
+        } else {
+            let originalFullFileName = path.lastPathComponent
+            let originalFileName = path.lastPathComponent.deletingPathExtension.lastPathComponent
+            let originalExtension = path.extension
+
+            let startIndex: Int = 0
+            let endIndex: Int = startIndex + originalPath.count - originalFullFileName.count - 1
+            let fileLocatePath = originalPath.substring(to: endIndex)
+            var i = 1
+            while (1 != 0) {
+                var newName = String(format: "%@%ld", originalFileName, i)
+                newName = String(format: "%@%@", newName, originalExtension)
+                let newPath = fileLocatePath.stringByAppendingPathComponent(newName)
+                if !dManager.fileExists(atPath: newPath) {
+                    return newPath
+                } else {
+                    i+=1
+                    continue
+                }
+            }
+        }
+    }
+    
+    func fetchDifferentFilePath(filePath: String) -> String {
+        var resultFilePath = filePath
+        var index: Int = 0
+        while (FileManager.default.fileExists(atPath: resultFilePath)) {
+            index += 1
+            let path = NSString(string: filePath).deletingPathExtension + "(" + String(index) + ")"
+            resultFilePath = NSString(string: path).appendingPathExtension(NSString(string: filePath).pathExtension)!
+        }
+        
+        return resultFilePath;
+    }
+    
+    
+}

+ 1 - 0
PDF Office/PDF Master/KMClass/KMHomeViewController/KMNHomeViewController.xib

@@ -8,6 +8,7 @@
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="KMNHomeViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
+                <outlet property="homeDragView" destination="Mw3-Qf-AGJ" id="qye-cS-Uhi"/>
                 <outlet property="homeOpenView" destination="Bxr-Ds-C57" id="DCS-RO-SoJ"/>
                 <outlet property="homeRecommondView" destination="SUk-pI-GKI" id="QLA-2x-bdU"/>
                 <outlet property="leftContendBox" destination="YQl-na-PHq" id="1OU-uy-3MI"/>

+ 6 - 3
PDF Office/PDF Master/KMClass/KMHomeViewController/Views/KMHomeQuickToolsView/KMHomeQuickToolsView.swift

@@ -63,7 +63,7 @@ public class KMHomeQuickToolsView: BaseXibView {
     
     func setupUI() {
         
-        titleLabel.stringValue = KMLocalizedString("Quick Tools")
+        titleLabel.stringValue = KMLocalizedString("Advanced Editing Tools")
         titleLabel.textColor = ComponentLibrary.shared.getComponentColorFromKey("colorText/1")
         titleLabel.font = ComponentLibrary.shared.font(forToken: "mac/body-l-bold")
         
@@ -137,14 +137,17 @@ public class KMHomeQuickToolsView: BaseXibView {
         var viewHeight: CGFloat = 8
         var menuItemArr: [ComponentMenuitemProperty] = []
         
-        let items = ["Collapse Tools", "Manage Tools"]
+        var items = ["Collapse All", "Manage Quick Tools"]
+        if KMNHomeQuickToolManager.defaultManager.collapseTools {
+            items = ["Expand All", "Manage Quick Tools"]
+        }
         
         for index in 0...items.count-1 {
             let properties_Menuitem: ComponentMenuitemProperty = ComponentMenuitemProperty(multipleSelect: false,
                                                                                            itemSelected: false,
                                                                                            isDisabled: false,
                                                                                            keyEquivalent: nil,
-                                                                                           text: KMLocalizedString(items[index], comment: ""),
+                                                                                           text: KMLocalizedString(items[index]),
                                                                                            identify: itemIdentifys[index])
             menuItemArr.append(properties_Menuitem)
             viewHeight += 36

+ 2 - 2
PDF Office/PDF Master/KMClass/KMHomeViewController/Views/KMHomeRightView/HistoryFilesItems/KMHistoryEmptyView.swift

@@ -32,8 +32,8 @@ class KMHistoryEmptyView: BaseXibView {
         super.awakeFromNib()
         
         emptyView.properties = ComponentEmptyProperty(emptyType: .add_File,
-                                                      text: KMLocalizedString("No Recently Opened Files"),
-                                                      subText: KMLocalizedString("Click to open the file or drag the file directly here to open the file."))
+                                                      text: KMLocalizedString("No recently opened file"),
+                                                      subText: KMLocalizedString("Click Open File or drag-and-drop file here to open them."))
         
     }
     

+ 7 - 7
PDF Office/PDF Master/Class/Home/View/KMHomeDragView.swift

@@ -8,9 +8,9 @@
 import Cocoa
 import KMComponentLibrary
 
-protocol KMHomeDragViewDelegate: NSObjectProtocol {
-    func homeDragView(_ viewController: KMHomeDragView, filePath: URL)
-    func homeDragView(_ viewController: KMHomeDragView, notSupport: Bool)
+@objc protocol KMHomeDragViewDelegate: NSObjectProtocol {
+    @objc optional func homeDragView(_ viewController: KMHomeDragView, filePath: URL)
+    @objc optional func homeDragView(_ viewController: KMHomeDragView, notSupport: Bool)
 }
 
 class KMHomeDragView: NSView {
@@ -19,7 +19,7 @@ class KMHomeDragView: NSView {
     @IBOutlet weak var dragLabel: NSTextField!
     @IBOutlet weak var dragViewHeight: NSLayoutConstraint!
 
-    open weak var delete: KMHomeDragViewDelegate?
+    open weak var delegate: KMHomeDragViewDelegate?
 
     var isDraggingEntered = false
     
@@ -37,7 +37,7 @@ class KMHomeDragView: NSView {
     
     func initializeUI() -> Void {
         self.wantsLayer = true;
-        dragLabel.stringValue = KMLocalizedString("Drag files here to open it")
+        dragLabel.stringValue = KMLocalizedString("Drop to open it")
         dragLabel.textColor = ComponentLibrary.shared.getComponentColorFromKey("colorText/white1")
         dragLabel.font = ComponentLibrary.shared.getFontFromKey("mac/body-s-regular")
         dragViewHeight.constant = 40
@@ -94,7 +94,7 @@ class KMHomeDragView: NSView {
             let type = path!.pathExtension.lowercased()
             if (KMTools.isPDFType(type) || KMTools.isImageType(type) || KMTools.isOfficeType(type)) {} else {
                 canAdd = false
-                self.delete?.homeDragView(self, notSupport: true)
+                self.delegate?.homeDragView?(self, notSupport: true)
                 break
             }
         }
@@ -125,7 +125,7 @@ class KMHomeDragView: NSView {
                 continue
             }
             
-            self.delete?.homeDragView(self, filePath: path!)
+            self.delegate?.homeDragView?(self, filePath: path!)
         }
         
         dragEntered(false)

+ 9 - 24
PDF Office/PDF Master/KMClass/KMHomeViewController/Views/KMHomeRightView/KMHomeRightView.swift

@@ -125,16 +125,16 @@ public class KMHomeRightView: BaseXibView {
         var menuItemArr: [ComponentMenuitemProperty] = []
          
         var items: [(String, String)] = [("Show in Finder", "ShowInFinderKey"),
-                                         ("File Information", "FileInformationKey"),
-                                         ("Remove from Recent", "RemovefromRecentKey"),
+                                         ("File Information...", "FileInformationKey"),
+                                         ("Remove from Recents", "RemovefromRecentKey"),
                                          (" ", " "),
-                                         ("Share", "ShareKey"),
-                                         ("Print", "PrintKey")]
+                                         ("Share...", "ShareKey"),
+                                         ("Print...", "PrintKey")]
         if collectionView.selectionIndexPaths.count > 1 {
             items = [("Show in Finder", "ShowInFinderKey"),
-                     ("Remove from Recent", "RemovefromRecentKey"),
+                     ("Remove from Recents", "RemovefromRecentKey"),
                      (" ", " "),
-                     ("Share", "ShareKey")]
+                     ("Share...", "ShareKey")]
         }
         for (i, value) in items {
             if i == " " {
@@ -148,25 +148,10 @@ public class KMHomeRightView: BaseXibView {
                                                                                                keyEquivalent: nil,
                                                                                                text: KMLocalizedString(i, comment: ""),
                                                                                                identify: value)
-                if i == "Print" {
+                if value == "FileInformationKey" {
+                    properties_Menuitem.keyEquivalent = "⌘ D"
+                } else if value == "PrintKey" {
                     properties_Menuitem.keyEquivalent = "⌘ P"
-                } else if i == "Share" {
-                    properties_Menuitem.righticon = NSImage(named: "menuItem_arrowRight")
-                    
-                    let subItemProperty1: ComponentMenuitemProperty = ComponentMenuitemProperty(multipleSelect: false,
-                                                                                                itemSelected: false,
-                                                                                                isDisabled: false,
-                                                                                                keyEquivalent: nil,
-                                                                                                text: KMLocalizedString("111111", comment: ""),
-                                                                                                identify: value)
-                    let subItemProperty2: ComponentMenuitemProperty = ComponentMenuitemProperty(multipleSelect: false,
-                                                                                                itemSelected: false,
-                                                                                                isDisabled: false,
-                                                                                                keyEquivalent: nil,
-                                                                                                text: KMLocalizedString("22222", comment: ""),
-                                                                                                identify: value)
-                    properties_Menuitem.subPropertys = [subItemProperty1, subItemProperty2]
-                    
                 }
                 menuItemArr.append(properties_Menuitem)
                 viewHeight += 36

+ 9 - 8
PDF Office/PDF Master/KMClass/Settings/SettingsManager.swift

@@ -413,18 +413,19 @@ class SettingsManager: NSObject {
         
         var bundlePath: String? = nil
         
-        if SettingsManager.sharedInstance.language == .English {
-            bundlePath = Bundle.main.path(forResource: "en", ofType: "lproj")
-        } else if SettingsManager.sharedInstance.language == .Chinese_CN {
-            bundlePath = Bundle.main.path(forResource: "zh-Hans", ofType: "lproj")
-        } else if SettingsManager.sharedInstance.language == .Chinese_TW {
-            bundlePath = Bundle.main.path(forResource: "zh-Hant", ofType: "lproj")
-        }
+//        if SettingsManager.sharedInstance.language == .English {
+//            bundlePath = Bundle.main.path(forResource: "en", ofType: "lproj")
+//        } else if SettingsManager.sharedInstance.language == .Chinese_CN {
+//            bundlePath = Bundle.main.path(forResource: "zh-Hans", ofType: "lproj")
+//        } else if SettingsManager.sharedInstance.language == .Chinese_TW {
+//            bundlePath = Bundle.main.path(forResource: "zh-Hant", ofType: "lproj")
+//        }
         
         if let bPath = bundlePath, let bundle = Bundle.init(path: bPath) {
             return NSLocalizedString(key, tableName: "Localizable", bundle: bundle, comment: comment ?? "")
+        } else {
+            return NSLocalizedString(key, comment: "")
         }
-        return key
     }
     
  

+ 1 - 1
PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

@@ -8891,7 +8891,6 @@
 				9FAAA338290F72CC0046FFCE /* KMHistoryFileCollectionView.swift */,
 				9F705F8C291E579F005199AD /* KMHistoryFileTableView.swift */,
 				9F8DDF332924DA6B006CDC73 /* KMPDFToolsCollectionView.swift */,
-				9F1F82C2292F113A0092C4B4 /* KMHomeDragView.swift */,
 				9FA693A62987C0590055488A /* KMStepperView.swift */,
 				9FA693A72987C0590055488A /* KMStepperView.xib */,
 				9F5664852988B16F00020985 /* KMTextfieldVC.swift */,
@@ -12645,6 +12644,7 @@
 				BBE3709C2CB8BD3700390884 /* HistoryFile.swift */,
 				BB19A7392CB7B4C9008204DC /* KMHomeRightView.swift */,
 				BB19A73D2CB7B4D1008204DC /* KMHomeRightView.xib */,
+				9F1F82C2292F113A0092C4B4 /* KMHomeDragView.swift */,
 				BBE370992CB7D76200390884 /* HeaderFooterView */,
 				BB19A75D2CB7CA80008204DC /* HistoryFilesItems */,
 			);

+ 0 - 16
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -36,22 +36,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "F9E55924-AB5F-4643-9619-66B8F00A7D6C"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/KMClass/KMHomeViewController/KMNHomeViewController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "160"
-            endingLineNumber = "160"
-            landmarkName = "quickToolWindowControllerUpdate()"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent