Autoformat Bug

I’ve been experiencing a supposed fault with CS3’s autoformatting. It completely ignores my selected option of putting spaces around operators, and when assigning variables a class:

 var theText = new TextField ();

it turns it into

 var theText=new TextField  ;

erasing the parenthesis… this is definitely not normal. When I delete the spaces that it creates, then autoformat it, it recreates the two spaces…

I’m very particular about keeping my code very clean and organized, so this is very frustrating.

Is anyone else experiencing this bug?

I was royally screwed by this bug too, but, I found out what causes it (at least I was able to reproduce it on my system).

IF you have only .as files open (no .fla file open in flash - i.e. no Target in your .as window) then this format bug triggers.

Workaround is to have a .fla open (target set) all the time.

I think the autoformat looks for some info in a target .fla.