Skip to main content

get_for_ex_range

Function get_for_ex_range 

Source
pub fn get_for_ex_range((line1, line2): (usize, usize)) -> Option<Dictionary>
Expand description

Extract the persisted Visual selection if it matches the given Ex range; otherwise return the full line range.

The returned dictionary is intentionally format-agnostic: it contains selected lines, 0-based buffer coordinates, and the command prefix needed by Lua integrations.