Provide an easy way to instantiate editor as widget
Thanks for your great tool! We are running the editor in a viewpart as a widget, but it was only possible with significant tricks and hacks. It would be great to have a way to simply instantiate the editor (with content assist and validation) as a widget in a viewpart.
Thank you for submitting this issue. Currently, embedding the editor as-is into a view part is not the proper approach (activation/deactivation, dirty state, focus, etc.), the solution would be to embed/adapt the text viewer TextViewer and manage a fake context behind.
thank you very much. could you please provide a code example of how to do this with TextViewer so that the content assist and validation work?