On Sun, Jan 31, 2021 at 1:15 PM Christoph Läubrich
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
But how do I get hold of the ISourceViewer corresponding to a IResource
if I know nothing more than the Resource?
Am 31.01.21 um 13:07 schrieb Mickael Istria:
On Sun, Jan 31, 2021 at 12:54 PM Christoph Läubrich
mailto:lae...@laeubi-soft.de>> wrote:
My plan is to check for the ISourceVi
On Sun, Jan 31, 2021 at 12:54 PM Christoph Läubrich
wrote:
> My plan is to check for the ISourceViewerExtension5 then and call
> .updateCodeMinings();
> Or is there a better approach?
>
This is the strategy taken by the error marker code minings, and IIRC by
some other 3rd party CodeMining exten
I have some codeminigs that are based on external (to the editor) sources.
I can listen for the resource changes (e.g. IResourceChangeListener) and
now have an IResource, I can get the ITextFileBuffer but how do I notify
the corresponding ISourceViewer?
My plan is to check for the ISourceView