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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user