pub fn place(doc: &PlanDocument, view: &DiffView, thread: &mut RemoteThread)Expand description
Where a fetched thread lands in this plan.
Three tries, cheapest and most certain first. A line the forge gave that a
hunk on that side holds is exact: the digest and the offset are the hunk’s.
A line no hunk holds is context, and lands on the nearest hunk in the file
at a signed offset, which is how a finding on a context line is recorded
too. A thread with no line — outdated, the forge says — is looked for by
its recorded text in the file’s hunks, on its own side first. Nothing
found is anchor: None, and the thread is counted, not drawn.