//! KVT-fork: een BC-link uit de picker invoegen (zie `crate::kvt`). use gpui_kit::*; use super::Composer; impl Composer { /// Voegt `text` als link naar `url` in op de cursor (vervangt een selectie niet). pub(crate) fn insert_kvt_link( &mut self, text: &str, url: &str, window: &mut Window, cx: &mut Context, ) { let cursor = self.selection(cx).end; let end = self.draft.insert_link(cursor, text, url); self.commit(Some(end), window, cx); self.focus(window, cx); cx.notify(); } }