If your partner texts someone else in a flirty or romantic manner, then many people will consider it cheating. If anything your partner does with someone else makes you uncomfortable it is important to make him aware of this and carefully talk about your concerns together. If you are deeply unhappy maybe it is time to walk away.