diff options
Diffstat (limited to 'Userland/DevTools/HackStudio/HackStudioWidget.cpp')
-rw-r--r-- | Userland/DevTools/HackStudio/HackStudioWidget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.cpp b/Userland/DevTools/HackStudio/HackStudioWidget.cpp index 1e47b20aba..7bf0509c1f 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.cpp +++ b/Userland/DevTools/HackStudio/HackStudioWidget.cpp @@ -1484,4 +1484,11 @@ void HackStudioWidget::open_coredump(String const& coredump_path) } } +void HackStudioWidget::for_each_open_file(Function<void(ProjectFile const&)> func) +{ + for (auto& open_file : m_open_files) { + func(*open_file.value); + } +} + } |