From ee1228e7aba8212ff75e316600710cdf3092aa98 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 1 Dec 2011 12:48:29 +0000 Subject: [PATCH] --- PROMS/Volian.Controls.Library/StepRTB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs index 770cad67..1005f838 100644 --- a/PROMS/Volian.Controls.Library/StepRTB.cs +++ b/PROMS/Volian.Controls.Library/StepRTB.cs @@ -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);