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:
- item1: foo
item1A:
subElement: A
<there should be 4 spaces here after I hit enter>
Alternatively, if somebody already has built a yaml editor in RichTextFX or JavaFX, I'd love a link to it.
When I hit enter after this, to add a subelement unde