Bug #282506 --> Inline spell check words go blank while message is being sent
because the text frame is hiding selection text for disabled text nodes. We should never hide the selection if it is of type spellcheck. sr=dbaron git-svn-id: svn://10.0.0.236/trunk@170803 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1dac39cc88
commit
cb7373fa95
@ -3384,7 +3384,7 @@ nsTextFrame::PaintAsciiText(nsPresContext* aPresContext,
|
||||
sdptr = sdptr->mNext;
|
||||
}
|
||||
|
||||
if (!hideStandardSelection) {
|
||||
if (!hideStandardSelection || displaySelection) {
|
||||
//ITS OK TO CAST HERE THE RESULT WE USE WILLNOT DO BAD CONVERSION
|
||||
DrawSelectionIterator iter(content, details,(PRUnichar *)text,(PRUint32)textLength,aTextStyle,
|
||||
selectionValue, aPresContext, mStyleContext);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user