The Adjective CAPABLE is followed by the preposition OF.....therefore CAPABLE OF.... If we have a verb after a preposition, the preposition needs to be in the gerund form (=verb+ing) so in this case.....DOING.........I didn't think she was CAPABLE OF DOING such a thing. Another way to say this is...I didn't think she was able to do such a thing.