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
This commit is contained in:
scott%scott-macgregor.org 2005-03-16 22:58:10 +00:00
Родитель ddab8fa00e
Коммит 290343e6a9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);