Skip to main content

encode_selections

Function encode_selections 

Source
pub fn encode_selections(selections: &[(Position, Position)], out: &mut Vec<u8>)
Expand description

Encodes selections the way SetSelections and SelectionsChanged carry them, each an anchor and an active end, appending to out.