Skip to main content

current_unit_name

Function current_unit_name 

Source
fn current_unit_name(doc_text: &str) -> Option<String>
Expand description

The qualified name of the unit the cursor’s document declares, via a recovery parse (the header survives a mid-edit body). None for a headerless fragment that names no unit.