Add range method in editable

I think it'd be useful to have this for some components