In case anyone else has this problem...
I had two syntax error markers show up in a php file, i.e. the red X in the editor margin and in the Project Explorer. No big deal, right?
I closed the file for other reasons, and when I tried to open it, the editor window gave this error instead of the file:
Could not open the editor: Argument not valid.
To make a long story short, there was no error, using another editor to comment out the problem code or function didn't *consistently* fix the problem, and I finally tried deleting the offending lines, which worked. I then tried undo'ing the deletion, and the file open error and error markers didn't return.
I'll post again if I figure out why it happened, or if I can reproduce it.
[edit] I tried pasting the entire previous contents of the file back in and a few other things, and I haven't reproduced it. A fluke perhaps.
[Updated on: Tue, 09 March 2010 20:11] by Moderator