Skip to main content

in_cors_field_position

Function in_cors_field_position 

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

v0.131: the cursor is at a field-name position inside a cors { … } block — the innermost open brace is opened by cors, and the current field segment (since the last , or newline) has no : yet (a value position).