Open Bug 312716 Opened 19 years ago Updated 2 years ago

View Source word wrap doesn't preserve indentation

Categories

(Toolkit :: View Source, enhancement)

enhancement

Tracking

()

People

(Reporter: 4aeikob02, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 When viewing source HTML that is indented in a readable way, toggling on word wrap causes the lines to wrap all the way to the left edge of the window. It is a lot easier to see structure if the lines only wrap as far as they are indented. Reproducible: Always Actual Results: Word wrap wraps to the left edge of the window Expected Results: Word wrap should wrap to the indentation level of each line independently
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 1.0 Branch → Trunk
Product: Firefox → Toolkit
This bug here was referenced in mozilla-central changeset 1abd98b9df00 (typo in check-in comment). What was actually meant in the check-in comment is Bug 317216.
This would be very useful for Scratchpad as well. Ideally, it should be possible to do this in any text area with CSS.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.