title: Maintain indentation in RichTextFX CodeArea
body: <p>I am building a YAML editor in a RichTextFX CodeArea (which I believe is a type of TextArea). I'd like to maintain the current level of indentation when I hit Enter. So for example:</p>
  
  <pre><code>- item1: foo
    item1A:
      subElement: A
  &lt;there should be 4 spaces here after I hit enter&gt;
  </code></pre>
  
  <p>Alternatively, if somebody already has built a yaml editor in RichTextFX or JavaFX, I'd love a link to it.</p>
  
  <p>When I hit enter after this, to add a subelement unde</p>