From d2578494e384dc62652e660e2911028a71f3d671 Mon Sep 17 00:00:00 2001 From: Feror Date: Mon, 1 Jun 2026 10:57:08 +0200 Subject: [PATCH] fix(editor): Tasks are now marked as dirty when clicked. --- Sources/SaplingEditor/HybridMarkdownEditor.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/SaplingEditor/HybridMarkdownEditor.swift b/Sources/SaplingEditor/HybridMarkdownEditor.swift index 8ef221b..fcb1daa 100644 --- a/Sources/SaplingEditor/HybridMarkdownEditor.swift +++ b/Sources/SaplingEditor/HybridMarkdownEditor.swift @@ -508,6 +508,7 @@ private struct NativeMarkdownTextView: NSViewRepresentable { parent.onTextEdit(textView.string, edit, selection) parent.selection = selection pendingEdit = previousPendingEdit + invalidateStylingCache() applyHybridAttributes(to: textView) if wasFirstResponder {