Answer: To like a particular thing.
Explanation:
The meaning of fancying means to like something or have a string attraction towards a particular thing or someone.
The sentence "I have been so anxious,fancying all sorts of things." simply means that the person is anxious and liking different things.