Don't split after a dictionary's key.

Also take into account the dictionary entry's value when calculating the
extent of the element.