Small bug fix: Scripts were not being recompiled after an error, if the (auto-selected) erroneous text was simply deleted and the script re-run.

This commit is contained in:
2008-08-13 17:29:51 +00:00
parent e2c42be829
commit 55438d9fe0

View File

@@ -2221,6 +2221,7 @@ void txt_delete_char (Text *text)
if (txt_has_sel(text)) { /* deleting a selection */
txt_delete_sel(text);
txt_make_dirty(text);
return;
}
else if (text->curc== text->curl->len) { /* Appending two lines */
@@ -2281,6 +2282,7 @@ void txt_backspace_char (Text *text)
if (txt_has_sel(text)) { /* deleting a selection */
txt_delete_sel(text);
txt_make_dirty(text);
return;
}
else if (text->curc==0) { /* Appending two lines */