| 2875 | } |
| 2876 | |
| 2877 | void ScriptEditor::update_script_times() { |
| 2878 | for (int i = 0; i < tab_container->get_tab_count(); i++) { |
| 2879 | ScriptEditorBase *se = Object::cast_to<ScriptEditorBase>(tab_container->get_tab_control(i)); |
| 2880 | if (se) { |
| 2881 | se->edited_file_data.last_modified_time = FileAccess::get_modified_time(se->edited_file_data.path); |
| 2882 | } |
| 2883 | } |
| 2884 | } |
| 2885 | |
| 2886 | void ScriptEditor::apply_scripts() const { |
| 2887 | for (int i = 0; i < tab_container->get_tab_count(); i++) { |
no test coverage detected