Schnarch Said it best when he said that you a attract someone as undifferentiated as you.
If your partner is more broken than you, you'll leave. If you are the broken one they'll leave and vice versa.
It takes a rather special broken person to mirror your soon to be ex's dysfunction.
Now compare yourself to who you were when this whole relationship started. Afterall you accepted her dysfunction, so what does that say about who you were then. Are you a better person now?
She hasn't changed, and is probably worse. Have you worked through your own issues?
If you have then good, I'm pretty sure that if you find love again things will go much better. For one I'm sure you won't put up with BS. That is a good thing. Hopefully you have grown enough to attract and keep a good woman.
I hope this isn't coming across as harsh, I'm actually trying to encourage you. Our relationships say a lot about who we are.