range: add container constraint for range.expand()
editor: pass editor input container to range.expand()