Added supporting logic to SaveText and SaveContents for Editorial Spell Checker

Added supporting logic to SpellCheckNext for Editorial Spell Checker
Save text changes before starting up the spell checker
Added supporting logic to UpdateEditor for Editorial Spell Checker
This commit is contained in:
2016-10-25 18:48:14 +00:00
parent 2342de91bd
commit 91da0b995f
4 changed files with 26 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ namespace Volian.Controls.Library
{
get { return _Errors[_ErrorIndex]; }
}
public bool DidCorrectSpelling = false; // B2015-024 have Spell Checker text changes be in editorial mode (not assign a change bar but keep existing change bar)
public VlnSpellCheckDlg()
{
@@ -77,6 +78,7 @@ namespace Volian.Controls.Library
private void UpdateEditor(string replacement)
{
DidCorrectSpelling = true;
// save starting point to continue checking from here
int start = CurrentError.Start;