diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-05 16:22:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-05 16:22:33 +0300 |
commit | ad1ea9a427e3543a43ca2589f87f0c94b9be03ca (patch) | |
tree | 267fcc16524cd1336d2a55d08a497025a552d825 /source/blender/editors/include/ED_text.h | |
parent | 79c3c5689416014afd4fe417fac404c34b7a6cf0 (diff) |
Undo: split text undo steps out of the data-block
This moves undo storage into a separate struct which is passed
in from the undo system.
Diffstat (limited to 'source/blender/editors/include/ED_text.h')
-rw-r--r-- | source/blender/editors/include/ED_text.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_text.h b/source/blender/editors/include/ED_text.h index 5517e50aef4..763fbe3bac5 100644 --- a/source/blender/editors/include/ED_text.h +++ b/source/blender/editors/include/ED_text.h @@ -33,10 +33,13 @@ struct SpaceText; struct ARegion; struct UndoType; +struct TextUndoBuf; bool ED_text_region_location_from_cursor(struct SpaceText *st, struct ARegion *ar, const int cursor_co[2], int r_pixel_co[2]); /* text_undo.c */ void ED_text_undosys_type(struct UndoType *ut); +struct TextUndoBuf *ED_text_undo_push_init(struct bContext *C); + #endif /* __ED_TEXT_H__ */ |