Skip to main content

in_env_name_position

Function in_env_name_position 

Source
pub fn in_env_name_position(text: &str, offset: usize) -> bool
Expand description

#2134: the cursor is at an entry-name position inside a suite’s or case’s env { … } block — the innermost open brace is opened by env, and the current entry (since the last newline or ,) has no = yet.