The saying, "Actions speak louder than words" is a saying for a reason, it's true.
Because I was completely invested in her, it took about a year before I felt that I was over the situation. Another thing that helped me was when I started doing things that I was interested in but never spent enough time doing. I spent some time alone to reflect on my life and exactly who/what I was and wanted to be at that point in time and didn't isolate myself.
I lost contact with several toxic friends that were present throughout the debacle and cultivated friendships with like minded people. One of my best decisions ever. That was when I realized (really understood) that friendships should be valued on quality and not quantity. I've still got trust issues and more apt to say 'f* it' than spend time on situations that aren't worth my time or effort.
Funny thing is, I wanted a LTR and that's what I was looking for but didn't connect with anyone capable of that until I decided to be single for a while. Go figure.
You'll make it through this, no sweat. If you decide to change your behavior, make sure it's because of the right reasons and the right thing to do for YOU!