A heroin dealer with more than 100 convictions for drugs and domestic abuse offences has been jailed again for attempting to strangle a woman.