pub fn replace_line(n: usize, new_text: String) {
    let mut lines = g_get_notes_vec();
    lines[n] = new_text;
    update_file(lines.join("\n"));
}
// Replaces a line from the notes with a new line
Replaces a line from the notes with a new line
Replaces a line from the notes with a new line
pub fn replace_line(n: usize, new_text: String) {
    let mut lines = g_get_notes_vec();
    lines[n] = new_text;
    update_file(lines.join("\n"));
}
pub fn replace_line ( n : usize , new_text : String ) { let mut lines = g_get_notes_vec ( ) ; lines [ n ] = new_text ; update_file ( lines . join ( " \n " ) ) ; }
Replaces a line from the notes with a new line
Replaces a line from the notes with a new line
n
usize
new_text
String