To add to the previous poster's suggestion, I would advise that you take some time to care for YOU. Treat yourself to some nice outings, a good book, a cool yoga class, and perhaps a copy of "Codependent No More", so you can begin to reflect on why you were with this person to begin with.
I'm sorry this event is so bittersweet. Give yourself time and things will begin to clarify themselves to you.