I'm using RichTextFX to implement a commandline interface. What this means is that only the last line of text should be editable, while the previous content should be readonly.
Is there a way to mark a given span as readonly? If not, what is the best way to solve this problem?
Note that I eventually will want to allow other parts of the content to be editable, and not just the last line, so I'm really looking for a generic solution.