pub type TextApplyFn = Box<dyn Fn(WidgetId, usize, &str) -> CommandResult + Send + Sync>;
Callback type for applying text operations.
pub struct TextApplyFn(/* private fields */);