Commands that are typed but not yet executed get executed if the user hits enter on the editor. Steps to reproduce: a) set the command lines value to "help", but do *not* execute it b) focus the editor c) press enter on the editor Result: the command "help" is executed. Tested on Firefox 3.6/Mac.
This bug seems to be fixed on Firefox... *But* on Webkit (Chrome + Safari Mac) this bug takes place now. It's even worse: enter (newline) is *not* working on these browsers in the editor! As the newline command is important, I mark this bug as blocker.
Severity: normal → blocker
Priority: -- → P1
Created attachment 435492 [details] [diff] [review] Bugfix Brings newline functionality back again. Handle the return key in the keyDown function again and not in the textInserted function. However, why is the newline still reported in the textInserted function?
Is this related to bug 555023?
Created attachment 435706 [details] [diff] [review] Bugfix #2 This is based on the first bugfix. You have to apply the SC fixes as described in bug https://bugzilla.mozilla.org/show_bug.cgi?id=555598 before this bugfix works.
Attachment #435492 - Attachment is obsolete: true
Merged and pushed as changeset cdc676ca0fea.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.