mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
setting to turn off transient tab spawns
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -301,6 +301,10 @@ RD_VocabTable:
|
||||
//- rjf: native filesystem dialogues
|
||||
@default(0) @display_name('Use Native File System Dialog') @description("Uses the operating system's file system dialog box, rather than the debugger's built-in UI.")
|
||||
'use_native_file_system_dialog': bool,
|
||||
|
||||
//- rjf: transient tabs
|
||||
@default(1) @display_name('Transient Tabs') @description("When snapping to source code locations, opens new files in a 'transient' tab if they are not already open. Transient tabs are replaced on subsequent snaps automatically.")
|
||||
'transient_tabs': bool,
|
||||
}
|
||||
```
|
||||
}
|
||||
|
||||
@@ -14277,6 +14277,12 @@ rd_frame(void)
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: if transient tabs are turned off, always prefer new tab
|
||||
if(!rd_setting_b32_from_name(str8_lit("transient_tabs")))
|
||||
{
|
||||
prefer_new_tab = 1;
|
||||
}
|
||||
|
||||
//- rjf: given a src code location, if no vaddr is specified,
|
||||
// try to map the src coordinates to a vaddr via line info
|
||||
if(vaddr == 0 && file_path.size != 0)
|
||||
|
||||
Reference in New Issue
Block a user