document source parameter in setSelection