Fix for Ctrl+Del/Backspace not setting text dirty
This commit is contained in:
parent
279cfdeef5
commit
5c633d3ba0
|
@ -2474,6 +2474,7 @@ void txt_delete_word(Text *text)
|
||||||
{
|
{
|
||||||
txt_jump_right(text, true, true);
|
txt_jump_right(text, true, true);
|
||||||
txt_delete_sel(text);
|
txt_delete_sel(text);
|
||||||
|
txt_make_dirty(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
void txt_backspace_char(Text *text)
|
void txt_backspace_char(Text *text)
|
||||||
|
@ -2522,6 +2523,7 @@ void txt_backspace_word(Text *text)
|
||||||
{
|
{
|
||||||
txt_jump_left(text, true, true);
|
txt_jump_left(text, true, true);
|
||||||
txt_delete_sel(text);
|
txt_delete_sel(text);
|
||||||
|
txt_make_dirty(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Max spaces to replace a tab with, currently hardcoded to TXT_TABSIZE = 4.
|
/* Max spaces to replace a tab with, currently hardcoded to TXT_TABSIZE = 4.
|
||||||
|
|
Loading…
Reference in New Issue