To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89862
User mod changed the following:
What |Old value |New value
================================================================================
Summary|setting new language attri|setting new language attri
|bute leaves EditView black|bute for EditView does not
| | update redlining
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Thu Jun 26 21:36:39 +0000
2008 -------
SwPostIt::SetLanguage as well as SwLangHelper::SetLanguageStatus are using this
hack now to get correct spellchecking status:
const SwViewOption* pVOpt = rView.GetWrtShellPtr()->GetViewOptions();
ULONG nCntrl = pEditEngine->GetControlWord();
// turn off
if (!pVOpt->IsOnlineSpell())
nCntrl &= ~EE_CNTRL_ONLINESPELLING;
else
nCntrl &= ~EE_CNTRL_ONLINESPELLING;
pEditEngine->SetControlWord(nCntrl);
//turn back on
if (pVOpt->IsOnlineSpell())
nCntrl |= EE_CNTRL_ONLINESPELLING;
else
nCntrl &= ~EE_CNTRL_ONLINESPELLING;
pEditEngine->SetControlWord(nCntrl);
pEditEngine->CompleteOnlineSpelling();
rEditView.Invalidate();
So turning spellchecking off and on again to update the redlining.
This is just a workaround, this bug should be fixed inside EditView/EditEngine
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]