You're dealing with a double edge sword because if you continue to text him and contact him you could push him further away and if you leave him alone and not contact him for a while he may take that as you moving on or not being interested in him anymore. I suggest to you to write to him and tell him how you feel and then give it time this way he knows that you still care but are willing to give him the times he needs to make up his mind. See if he replies and if he does then communicate with him if he does not then give him time to think about everything you wrote to him, make the letter as long as you need it to be express all of your feelings about the way things ended and what he said about you lighting his fire and making him feel good. Tell him how his breaking up with you hurt you but you understand why he had to do it. Maybe if you tell him that you understand that he still has feelings for his ex he will know that you truly do understand him and care about his well being. After you write the letter wait for him to read it and possibly reply and if he doesn't reply give it several weeks like two or three and then text him saying you were thinking about him and wanted to know how he was doing and leave it at that. If you are overbearing with your contact he will not even consider coming back you have to keep contact at a minimum unless he contacts you first.