I cannot use the functions directly, as I would need to calculate the current selections begin and end points and use them as arguments. To be investigated.