Browse Source

综合-补充快捷键

tangchao 1 year ago
parent
commit
ee820e879b

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

@@ -375,16 +375,16 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "E460F051-604C-43F8-BD09-AB1CC1A3AB88"
+            uuid = "50A19C91-A96A-4C4B-8983-8894A46CEC5A"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/ChromiumTabs/KMToolbarRightView.swift"
+            filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "151"
-            endingLineNumber = "151"
-            landmarkName = "userInfoButtonAction(_:)"
+            startingLineNumber = "870"
+            endingLineNumber = "870"
+            landmarkName = "exportCorpImage(sender:)"
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>

+ 3 - 3
PDF Office/PDF Master/Class/Home/ViewController/KMHomeFastToolViewController.swift

@@ -259,7 +259,7 @@ extension KMHomeFastToolViewController: NSCollectionViewDelegateFlowLayout {
         return 8
     }
     
-    func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAt section: Int) -> NSEdgeInsets {
-        return NSEdgeInsets(top: 0, left: 0, bottom: 15, right: 0)
-    }
+//    func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAt section: Int) -> NSEdgeInsets {
+//        return NSEdgeInsets(top: 0, left: 0, bottom: 15, right: 0)
+//    }
 }

+ 3 - 0
PDF Office/PDF Master/Class/PDFWindowController/Toolbar/KMToolbarViewController.swift

@@ -700,6 +700,7 @@ extension KMToolbarViewController : KMNewToolbarDelegate,NSToolbarItemValidation
                 item?.alternateImage = NSImage(named: "KMImageNameMainToolHighlight")
                 item?.target = self
                 item?.btnTag = CAnnotationType.highlight.rawValue
+                item?.toolTip = NSLocalizedString("Highlight (⌃⌘H)", comment: "")
                 item?.boxImagePosition = KMToolBoxImagePosition.only
                 item?.btnAction = #selector(changeAnnotationMode)
                 
@@ -711,6 +712,7 @@ extension KMToolbarViewController : KMNewToolbarDelegate,NSToolbarItemValidation
                 item?.alternateImage = NSImage(named: "KMImageNameMainToolUnderline")
                 item?.target = self
                 item?.btnTag = CAnnotationType.underline.rawValue
+                item?.toolTip = NSLocalizedString("Underline (⇧⌘M)", comment: "")
                 item?.boxImagePosition = KMToolBoxImagePosition.only
                 item?.btnAction = #selector(changeAnnotationMode)
                 
@@ -722,6 +724,7 @@ extension KMToolbarViewController : KMNewToolbarDelegate,NSToolbarItemValidation
                 item?.alternateImage = NSImage(named: "KMImageNameMainToolStrikeththrough")
                 item?.target = self
                 item?.btnTag = CAnnotationType.strikeOut.rawValue
+                item?.toolTip = NSLocalizedString("Strikethrough (⌃⌘M)", comment: "")
                 item?.boxImagePosition = KMToolBoxImagePosition.only
                 item?.btnAction = #selector(changeAnnotationMode)