Function moras::modules::riscv::middleware::frontend_api::create_tab
source ยท pub fn create_tab(tab_map: State<'_, TabMap>, filepath: &str) -> Optional
Expand description
Creates a new tab with content loaded from a specified file path.
tab_map
: Current state of all open tabs.filepath
: Path to the file from which content will be loaded.
Returns Optional
indicating the success or failure of tab creation.