This commit is contained in:
2011-04-08 13:15:41 +00:00
parent 2d16db5bf2
commit 76dd59be14
9 changed files with 495 additions and 441 deletions

View File

@@ -2693,7 +2693,7 @@ namespace Volian.Controls.Library
}
#endregion
#region SpellChecker
// We made the Spell Checker method a static so that all of the StepRTB boxes will sbare the same instace of the dictionary.
// We made the Spell Checker method a static so that all of the StepRTB boxes will bare the same instance of the dictionary.
// This allow all the StepRTB's to automatically update when a new word is added.
private static C1.Win.C1SpellChecker.C1SpellChecker _C1SpellChecker2;
@@ -2794,7 +2794,13 @@ namespace Volian.Controls.Library
int nBad = C1SpellChecker2.CheckControl(this, false, MySpellCheckDlg);
return (nBad >= 0); // nBad = -1 means user pressed Cancel button
}
// This allows us to turn off/on the specll check context menu when we toggle in and out of View Mode.
// see btnToggleEditView_Click() in StepTabRibbon.cs
public void SpellCheckContextMenuOn(bool turnOnMenu)
{
C1SpellChecker2.Options.ShowSuggestionsInContextMenu = turnOnMenu;
}
#endregion
#region
public string DoNewLinkInGridCell()