Compare commits
2 Commits
F2025-024_
...
C2025-037
Author | SHA1 | Date | |
---|---|---|---|
3261d63b19 | |||
2894899ad4 |
@@ -27,8 +27,24 @@ namespace Volian.Controls.Library
|
|||||||
while (MyEditItem.SpellCheckNext())
|
while (MyEditItem.SpellCheckNext())
|
||||||
{
|
{
|
||||||
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
|
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
|
||||||
if (next == null || !next.IsStep) // B2016-063 check if next is not a step type instead of specifically a section
|
//C2025-037 Evaluate the way that Spell Check (in step editor sections) is currently closing after one section.
|
||||||
return; // spell check only current section
|
|
||||||
|
if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
|
||||||
|
{
|
||||||
|
return; // spell check only current procedure
|
||||||
|
}
|
||||||
|
|
||||||
|
//If it is a word document, find the next non-word document
|
||||||
|
while (next.HasWordContent)
|
||||||
|
{
|
||||||
|
next = next.SearchNext;
|
||||||
|
|
||||||
|
if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
|
||||||
|
{
|
||||||
|
return; // spell check only current procedure
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||||
}
|
}
|
||||||
MyEditItem.SetFocus();
|
MyEditItem.SetFocus();
|
||||||
|
Reference in New Issue
Block a user