Type: the thread-break comments describe the behaviour in our own words

Review follow-up (CodeRabbit, clean-room): two doc comments quoted the
cited help page. Comments only.
This commit is contained in:
Taha-Mahmoodi
2026-10-26 16:00:39 +07:00
committed by bflatastic
parent 54d9fbc162
commit de151f849a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -658,8 +658,8 @@ fn remove(s: &mut Session, _: &Value) -> Result<Value> {
}
/// `text.thread.break`: a double-click on a threaded port. The thread is split there; the whole
/// story goes into the first part, "the text flows into the first object", and the frames of the
/// second part are emptied, staying threaded with each other when two or more remain.
/// story moves into the frames before the split, and the frames after it are emptied, staying
/// threaded with each other when two or more remain.
fn break_thread(s: &mut Session, p: &Value) -> Result<Value> {
const C: &str = "text.thread.break";
let id = checked_id(s, p.get("id").unwrap_or(&Value::Null), C)?;