This commit is contained in:
Kathy Ruffing 2011-12-01 12:48:29 +00:00
parent 56753eb7b3
commit ee1228e7ab

View File

@ -442,7 +442,7 @@ namespace Volian.Controls.Library
if (SelectionHangingIndent !=0) SelectionHangingIndent = 0;
int indchar = 0;
string indentToken = MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IndentToken;
if (indentToken == null) indentToken = "\x5";
if (indentToken == null || indentToken=="0") indentToken = "\x5";
while ((indchar = Find(indentToken, indchar, RichTextBoxFinds.None)) >= 0)
{
Point indent = GetPositionFromCharIndex(indchar);