This commit is contained in:
parent
56753eb7b3
commit
ee1228e7ab
@ -442,7 +442,7 @@ namespace Volian.Controls.Library
|
|||||||
if (SelectionHangingIndent !=0) SelectionHangingIndent = 0;
|
if (SelectionHangingIndent !=0) SelectionHangingIndent = 0;
|
||||||
int indchar = 0;
|
int indchar = 0;
|
||||||
string indentToken = MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IndentToken;
|
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)
|
while ((indchar = Find(indentToken, indchar, RichTextBoxFinds.None)) >= 0)
|
||||||
{
|
{
|
||||||
Point indent = GetPositionFromCharIndex(indchar);
|
Point indent = GetPositionFromCharIndex(indchar);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user