Closed Bug 505794 Opened 17 years ago Closed 15 years ago

additional line is inserted when selecting code and using the format command

Categories

(Skywriter Graveyard :: Editor, defect, P4)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: chris.webster, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Build Identifier: Your Bespin is at version 0.3.0, Code name: "Strategic Stratus" The last line of the file is duplicated when selecting all but the last line of code and using the format command. Reproducible: Always Steps to Reproduce: 1.start with the following html in the editor: <html> <head> <link rel="stylesheet" type="text/css" href="http://visapi-gadgets.googlecode.com/svn/trunk/barsofstuff/bos.css"/> <script type="text/javascript" src="http://visapi-gadgets.googlecode.com/svn/trunk/barsofstuff/bos.js"></script> <script type="text/javascript" src="http://www.google.com/jsapi"></script> </head> <body> </body> </html> 2. select everything except the </html> element (make sure this is the last element, no empty lines) and use the format command via the command line Actual Results: There will be an additional line inserted with </html> Expected Results: code would be formatted, but the content would not change.
Priority: -- → P4
Status: UNCONFIRMED → NEW
Ever confirmed: true
ACETRANSITION The Skywriter project has merged with Ajax.org's Ace project (the full server part of which is their Cloud9 IDE project). Background on the change is here: http://mozillalabs.com/skywriter/2011/01/18/mozilla-skywriter-has-been-merged-into-ace/ The bugs in the Skywriter product are not necessarily relevant for Ace and quite a bit of code has changed. For that reason, I'm closing all of these bugs. Problems that you have with Ace should be filed in the Ace issue tracker at GitHub: https://github.com/ajaxorg/ace/issues
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.