tgjones / gemini

Gemini is an IDE framework similar in concept to the Visual Studio Shell. It uses AvalonDock and has an MVVM architecture based on Caliburn Micro.
Other
1.1k stars 298 forks source link

OpenFileCommandHandler doesn't check editorProviders.Length #277

Closed kornman00 closed 3 years ago

kornman00 commented 7 years ago

If the application doesn't provide any IEditorProvider exports, then editorProviders will be an empty array. This leads to the Run() code trying to populate dialog.Filter with "All Supported Files||", which is not a valid Filter value and causes an argument exception to be thrown.