When cutting out a part of a python script the old textbuffer was still used when executing the script. Adding a txt_make_dirty() to txt_cut_sel() helped.

This commit is contained in:
Florian Eggenberger
2003-07-10 18:32:42 +00:00
parent c132c6abca
commit 66e2bf39d9

View File

@@ -1015,6 +1015,7 @@ void txt_cut_sel (Text *text)
txt_copy_sel(text); txt_copy_sel(text);
txt_delete_sel(text); txt_delete_sel(text);
txt_make_dirty(text);
} }
char *txt_sel_to_buf (Text *text) char *txt_sel_to_buf (Text *text)