Преглед на файлове

【综合】注释 图形注释框住的文本应该要在注释列表中显示(已修复)

tangchao преди 11 месеца
родител
ревизия
62649f01ca

+ 3 - 6
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController.swift

@@ -2337,12 +2337,7 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
 //
             let timeKey = self.noteTypeDict[Self.Key.noteFilterTime] as? Bool
             if timeKey == nil || timeKey == false {
-//                if (date != nil) {
-                    cell.timeLabel.stringValue =  dateString
-//
-//                } else {
-//                    cell.timeLabel.stringValue = ""
-//                }
+                cell.timeLabel.stringValue =  dateString
                 cell.timeLabel.isHidden = false
             } else {
                 cell.timeLabel.isHidden = true
@@ -2499,7 +2494,9 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
                         cell.contentViewHidden(true)
                     }
                 } else if data.isKind(of: CPDFLineAnnotation.self) || noteType == SKNSquareString || noteType == SKNCircleString || noteType == SKNInkString {
+                    noteString = data.page?.string(for: data.bounds) ?? ""
                     cell.annotationContentLabel.stringValue = noteString
+                    
                     if (noteString.isEmpty == false) {
                         cell.contentViewHidden(false)
                     } else {

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

@@ -692,22 +692,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "8EDD429D-9ECE-420D-97EC-4A61BA0D004F"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "2732"
-            endingLineNumber = "2732"
-            landmarkName = "pdfListViewChangeatioActiveAnnotations(_:forActiveAnnotations:isRightMenu:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent