mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-05 16:38:32 +00:00
Editor manager should be singleton.
Added some logging when filtering the layout data. Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -541,6 +541,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
|
||||
bind(SearchInWorkspaceWidget).toSelf();
|
||||
rebind(TheiaSearchInWorkspaceWidget).toService(SearchInWorkspaceWidget);
|
||||
|
||||
// Disabled reference counter in the editor manager to avoid opening the same editor (with different opener options) multiple times.
|
||||
bind(EditorManager).toSelf().inSingletonScope();
|
||||
rebind(TheiaEditorManager).to(EditorManager);
|
||||
|
||||
// replace search icon
|
||||
|
||||
Reference in New Issue
Block a user