Improve loads of fancy things in relation to the mouse pointer

This commit is contained in:
2026-10-07 13:02:52 +02:00
parent ed5a227c9d
commit a0b3ef9975
25 changed files with 334 additions and 89 deletions
@@ -114,6 +114,6 @@ public struct EditorPresentation: Equatable, Sendable {
/// Actual and Code edit the live buffer; Preview is a read-only view.
public var isEditable: Bool { kind == .text && placeholder == nil && (paneMode == .code || paneMode == .actual) }
/// A click on a marked line opens the Diff, except on a new file where every line is marked.
public var opensDiffOnClick: Bool { paneMode == .actual && hasDiff && status != .added }
/// A marked line offers Show diff, except on a new file where every line is marked.
public var offersShowDiff: Bool { paneMode == .actual && hasDiff && status != .added }
}