bool ProbeAfterTab()
{
this.currentLineWidth = 0;
this.currentBlankCount = 0;
//Extra for auto tab after list symbol
//TODO: KLPO4KLPO: Check if this conditional statement is still required
if (this.currentLeaf != null && IsTab(this.currentLeaf.Current))
this.currentLeaf = this.currentLeaf.GetNextLeaf();
bool wordAppeared = false;
while (this.currentLeaf != null && !IsLineBreak(this.currentLeaf.Current) && !IsTab(this.currentLeaf.Current))
{
FormatResult result = FormatElement(this.currentLeaf.Current);
if (result != FormatResult.Continue)
break;
wordAppeared = wordAppeared || IsWordLikeElement(this.currentLeaf.Current);
this.currentLeaf = this.currentLeaf.GetNextLeaf();
}
return this.currentLeaf != null && !IsLineBreak(this.currentLeaf.Current) &&
!IsTab(this.currentLeaf.Current) && !wordAppeared;
}