Ver Fonte

【综合】整理代码

tangchao há 1 ano atrás
pai
commit
0bf45dcd0f

+ 0 - 32
PDF Office/PDF Master.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -354,38 +354,6 @@
             endingLineNumber = "2035"
             landmarkName = "editWatermark(_:)"
             landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "4061BC4B-4340-4644-BE17-783EA8A4B007 - 9ef8f5f32358cf7f"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Master.KMBrowserWindowController.batchAddWatermark(Swift.Optional&lt;Any&gt;) -&gt; ()"
-                  moduleName = "PDF Master"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/ChromiumTabs/KMBrowserWindowController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "2036"
-                  endingLineNumber = "2036"
-                  offsetFromSymbolStart = "356">
-               </Location>
-               <Location
-                  uuid = "4061BC4B-4340-4644-BE17-783EA8A4B007 - 9ef8f5f32358cf7f"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Master.KMBrowserWindowController.batchAddWatermark(Swift.Optional&lt;Any&gt;) -&gt; ()"
-                  moduleName = "PDF Master"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/ChromiumTabs/KMBrowserWindowController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "2036"
-                  endingLineNumber = "2036"
-                  offsetFromSymbolStart = "777">
-               </Location>
-            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy

+ 4 - 4
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+UI.swift

@@ -592,8 +592,8 @@ extension KMMainViewController {
     @objc func EditNoteItemAction(sender: NSMenuItem) {
         
     }
-    @objc func highlightLinks() {
-        let highlightLinks = KMPreferenceManager.shared.highlightLinks
-        KMPreferenceManager.shared.highlightLinks = !highlightLinks
-    }
+//    @objc func highlightLinks() {
+//        let highlightLinks = KMPreferenceManager.shared.highlightLinks
+//        KMPreferenceManager.shared.highlightLinks = !highlightLinks
+//    }
 }