File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Sources/CodeEditTextView/TextView Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,15 @@ extension TextView: NSDraggingSource {
120120 isDragging = true
121121 setUpMouseAutoscrollTimer ( )
122122 }
123-
123+
124+ /// Updates the text view about a dragging session. The text view will update the ``TextView/draggingCursorView``
125+ /// cursor to match the drop destination depending on where the drag is on the text view.
126+ ///
127+ /// The text view will not place a dragging cursor view when the dragging destination is in an existing
128+ /// text selection.
129+ /// - Parameters:
130+ /// - session: The dragging session that was updated.
131+ /// - screenPoint: The position on the screen where the drag exists.
124132 public func draggingSession( _ session: NSDraggingSession , movedTo screenPoint: NSPoint ) {
125133 guard let windowCoordinates = self . window? . convertPoint ( fromScreen: screenPoint) else {
126134 return
You can’t perform that action at this time.
0 commit comments