I am evaluating the syntax editor along with the web languages add-on. My goal is to provide an easy to use XML editor in my application. On the whole this works well. I don have a question with regards to xml indenting.
Looking at the documentation it mentions indent providers. My understanding of these is that they indent when the user presses ENTER. This is fine but I also want to load up a chunk of XML and display it nicely indented before people begin editing.
The chunk of XML is bound to the syntaxEditor via a string property. Currently the XML is displayed but without indentation. Is this something a can achieve with the control or do I have to fomat the string myself before binding?