If I open a project's FF_AppStart ...
Select all
delete
Then paste
FF 3.5 crashes ...
Mine does not, but then we're back to the core question â€" why would you do that in the first place?! :o
And what do you have in your clipboard that you are pasting, since it doesn't seem to be what should
be in this part of a project â€" the code you just deleted!?
Well this all started with a FF3 project I loaded in FF3.5 .. I had some declares inserted to the FF generated code ( because I had selected win 2000 compatability for min supported OS ), I don't remember doing it.. but then I digress ..
In my investigation I created a Dummy project with only the failing function in it and it worked.. so thinking I had a corrupt FF_AppStart I attempted to copy the code from the test project over the FF App start for my failing project .... and that is how I discovered this.
I am running Win 7 64 bit and can recreate this.
Select all, copy, paste.... sometimes I have to paste 2 times... no biggie..
I've not peeked at FF source code so this is off the top of my head, but I think there is a good chance that it is entirely an undo/redo buffer management issue. You can get FF (since v3.0) to do some pretty weird stuff, including crashing, when just using undo and redo, but I have also had problems when deleting the entire contents of an edit window and pasting. Right now, however, I can't reproduce what Jim is seeing (using FF3.5).
Jim, try cutting everything but one line, pasting and then cut that last line.
If you want to see what I am referring to, type about 100 characters on one line (not by pasting), then try to undo them all.
I can't imagine what a chore undo/redo must be to code in an editor. My hat is off to Paul for trying.
I pretty much can select some text, cut, paste and then paste again over the still selected text... then crash..
Verified the same thing at work as well... I can't figure I'll use that copy paste method in the FF_AppStart function, but alas it probably shouldn't do that anyway..
Is no one else seeing this behavior ?