Re: [platform-dev] Update code-minings in response to an external event

2021-01-31 Thread Mickael Istria
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

Re: [platform-dev] Update code-minings in response to an external event

2021-01-31 Thread Christoph Läubrich
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

Re: [platform-dev] Update code-minings in response to an external event

2021-01-31 Thread Mickael Istria
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