This commit is contained in:
@@ -7,13 +7,13 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
public class VlnSpellCheck
|
||||
{
|
||||
private StepItem _MyStepItem;
|
||||
public StepItem MyStepItem
|
||||
private RTBItem _MyRTBItem;
|
||||
public RTBItem MyRTBItem
|
||||
{
|
||||
get { return _MyStepItem; }
|
||||
get { return _MyRTBItem; }
|
||||
set
|
||||
{
|
||||
_MyStepItem = value;
|
||||
_MyRTBItem = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,14 +24,14 @@ namespace Volian.Controls.Library
|
||||
|
||||
public void DoSpellCheck()
|
||||
{
|
||||
while (MyStepItem.MyStepRTB.SpellCheckNext())
|
||||
while (MyRTBItem.MyStepRTB.SpellCheckNext())
|
||||
{
|
||||
ItemInfo next = MyStepItem.MyItemInfo.SearchNext;
|
||||
ItemInfo next = MyRTBItem.MyItemInfo.SearchNext;
|
||||
if (next.IsSection)
|
||||
return; // spell check only current section
|
||||
MyStepItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||
MyRTBItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||
}
|
||||
MyStepItem.MyStepRTB.Focus();
|
||||
MyRTBItem.MyStepRTB.Focus();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user