From f17baad0b989cc59f156546aa5c32604e806e3c0 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Thu, 23 Nov 2023 13:52:45 -0500 Subject: [PATCH] Make note about keeping Highlighter up to date --- Sources/Neon/Highlighter.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Neon/Highlighter.swift b/Sources/Neon/Highlighter.swift index 0a67882..05afb86 100644 --- a/Sources/Neon/Highlighter.swift +++ b/Sources/Neon/Highlighter.swift @@ -1,6 +1,9 @@ import Foundation import Rearrange +/// Manages highlighting state for a `TextSystemInterface`. +/// +/// > Note: A Highlighter must be informed of all text content changes made using `didChangeContent(in:, delta:)`. public class Highlighter { public var textInterface: TextSystemInterface