1. selection api: getcomposedranges

  2. selection api: getcomposedranges: returned array can contain multiple ranges