Skip to main content

position_in_range

Function position_in_range 

Source
pub fn position_in_range(pos: Position, range: Range) -> bool
Expand description

Checks whether a cursor position falls within an LSP range (inclusive on both ends).