Get the ending index of the attribute.
Referenced by ScimBridgeClientIMContextImpl::reset(), and scim_bridge_client_imcontext_set_preedit_attributes().