mirror of https://github.com/lapce/lapce.git
Change name of new scratch docs to 'Untitled-N'
This commit is contained in:
parent
50e3623f24
commit
b00b9286b8
|
@ -2250,7 +2250,7 @@ fn get_name_for_new_file(&self) -> String {
|
|||
let mut i = 0;
|
||||
loop {
|
||||
i += 1;
|
||||
let potential_name = format!("new {}", i);
|
||||
let potential_name = format!("Untitled-{}", i);
|
||||
|
||||
// Checking just the current scratch_docs rather than all the different document
|
||||
// collections seems to be the right thing to do. The user may have genuine 'new N'
|
||||
|
|
Loading…
Reference in New Issue