Closed Bug 49187 Opened 24 years ago Closed 24 years ago

View Source needs to be plaintext or HTML

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rubydoo123, Assigned: sfraser_bugs)

References

Details

(Whiteboard: [nsbeta3+])

View Source needs to be displayed in either plaintext or in HTML, this is required for selection, copy and paste functionality.
setting keywords
Keywords: correctness, nsbeta3
Blocks: 48643
Whiteboard: [nsbeta3+]
nsViewSourceHTML.cpp now emits HTML instead of XML (this can be switched back by undefining the VIEW_SOURCE_HTML macro in both nsViewSourceHTML.cpp and nsLayoutDLF.cpp). Source coloring can be switched back on by #defining VIEW_SOURCE_COLORING in nsViewSource.HTML. It is currently off since that substantially speeds up the display of the source window. It seems that the key bindings for editing operations haven't been turned on for the view source window. Simon offered to do the XUL hackery to get that to work. Passing the bug on to him to make the XUL changes and confirm that copying is now possible out of the view source window.
Assignee: vidur → sfraser
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Fix checked in. The view source window now supports shortcuts for close, copy, select all, and allows dragging.
Fixed in the Sept 9th build.
Status: RESOLVED → VERIFIED
See bug 52154 for making this a pref.
You need to log in before you can comment on or make changes to this bug.