title: Is it possible to set the hanging indent of each line in a RTB in c#?
body: <p>So basically what I need to do in a C sharp rich text box, is take the text from how it looks in this image:</p>
  
  <p><img src="https://i.stack.imgur.com/UM3XI.png" alt="How the text looks now"></p>
  
  <p><strong>And make it look perfectly formatted like stack overflow does:</strong></p>
  
  <ol>
  <li>Product Data:
  
  <ol>
  <li>Submit manufacturers printed product literature, specifications and datasheet in accordance with specifications.</li>
  </ol></li>
  <li>Test Reports &amp; Certificates:
  
  <ol>
  <li>Test Reports: Submit one draft of test plan and report for review including:
  
  <ol>
  <li>Procedures for system and equipment testing.</li>
  <li>Testing checklist.</li>
  <li>Recorded video from each channel of video including metadata which shows record rate, resolution and compression format.</li>
  </ol></li>
  <li>Certificates: Submit certificates signed by manufacturer certifying that materials comply with specified performance characteristics and physical properties.
  
  <ol>
  <li>Submit ULC/UL Product Safety Certificates.</li>
  </ol></li>
  </ol></li>
  </ol>
  
  <p>I have tried playing with the rtb.sethangingIndent method, but that just sets it for the ENTIRE textbox at the same time</p>
  
  <p>As I am sure you can see, There are different levels that the text needs to be indented by, depending on which level you are at, which I think confuses things a lot!</p>
  
  <p>Is there a way to do this without looping through each line of the textbox, and counting the amount of whitespace before the top line of "block" (that would need to be indented)?</p>