On Sun, Jan 31, 2021 at 1:15 PM Christoph Läubrich <lae...@laeubi-soft.de> wrote:
> But how do I get hold of the ISourceViewer corresponding to a IResource > if I know nothing more than the Resource? > I guess you'll need to iterate over all editors, filtering the ones who have their EditorInput being a FileEditorInput referencing the resource and which are instance of AbstractTextEditor, retrieve the viewer and call the ISourceViewerExtension5.updateCodeMinings() when approprite. -- Mickael Istria Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/> developer, for Red Hat Developers <https://developers.redhat.com/>
_______________________________________________ platform-dev mailing list platform-dev@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev