I just found this old thread:
http://www.toadfororacle.com/thread.jspa?threadID=25175
I am running version 10.6 and still having the same problem. I can work around it by changing ‘IN X (…’ to ‘IN X (…’, formatting, and then changing back.
Is this fixed in version 11 by any chance?
–Tony