Because we can load up text/plain files in composer, our commands should be enabled appropriately for plain text editing in the main composer window. If I fix bug 63515, this will be especially important. It stikes me that we already disable a bunch of commands in HTML source mode. We should just keep most of the same commands disabled all the time when editing text/plain.
Attached a patch to disable commands when not editing HTML (ie. we are either in source mode, or editing a text file. This mostly works, but there are a few special cases we need to handle. You'll have to apply this over the patch in attachment 34682 [details] [diff] [review].
Since Simon did all the work, it only seems fair to reassign to him and let him checkin and take proper credit! I'll be happy to review this.
Assignee: cmanske → sfraser
9.1 for the presnet -- Simon, if you are unable to get this in quickly, then please move this one out to 1.0
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
I believe the patch was checked in lastnight. r=brade email@example.com
Was checked in.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
verified in 6/7 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.