Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsStrategies for making XML content in StructuredTextEditor be formatted, and read-only?
https://www.eclipse.org/forums/index.php/mv/msg/1076191/1728317/#msg_1728317
These requirements are pretty similar to the "Effective POM" view of m2e, so I figured I could model it from that. Unfortunately, I don't see how in the M2E implementation this is done. I'm using a StructuredTextEditor just like it, but I don't see where it causes the content to be automatically formatted, and read-only.]]>David M. Karr2016-04-01T21:36:41-00:00Re: Strategies for making XML content in StructuredTextEditor be formatted, and read-only?
https://www.eclipse.org/forums/index.php/mv/msg/1076191/1728318/#msg_1728318
I did realize that the editor ignores my attempts to directly modify the buffer, so it's at least partially read-only. However, it says "Writable" in the status bar. In addition, I can right-click and select "Source..."->"Cleanup Document", and this will format the buffer the way I'd like to see it show up automatically.]]>David M. Karr2016-04-01T22:04:36-00:00Re: Strategies for making XML content in StructuredTextEditor be formatted, and read-only?
https://www.eclipse.org/forums/index.php/mv/msg/1076191/1728375/#msg_1728375
David M. Karr2016-04-04T04:41:18-00:00