Closed Bug 608205 Opened 14 years ago Closed 14 years ago

Changing color on multiple selected text ranges fails partly when not whole lines are selected

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 485638

People

(Reporter: dmartensson, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

If I select multiple ranges of text and then choose to change foreground color it stops changing color as soon as I have not selected the while line.



Reproducible: Always

Steps to Reproduce:
Paste the following text in a new mail window

Hello World
This is a test
to see if changing color works.
Bla bla bla
Jiddery Jiddery Jiddery
Nonsense nonsense

Now select with ctrl down the whole line "Hello World" and "Bla Bla Bla" and "Nonsens nonsens"

With these selected change color, all selected text changes color.

Undo changes or remove all formating then select the same BUT on the "Bla bla bla line only select the second word  "Bla *bla* bl" (star marked).

Now change color.
Actual Results:  
Both examples should change all selected text.

Expected Results:  
The second example only changes up to the last selected letter on a partly selected line "bla", every thing after that is left in original color.
Actual Results and Expected Results are mixed, but other than that this bug is reproducable... Every selection after an incomplete selected line is ignored.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.