feat(actions): added content field to Action to copy the insert text
This commit is contained in:
parent
1dd9e2cbca
commit
315e37b643
2 changed files with 15 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ typedef struct {
|
|||
ActionType type;
|
||||
size_t line_original;
|
||||
size_t line_changed;
|
||||
char* content;
|
||||
} Action;
|
||||
|
||||
// Dynamic array of Actions
|
||||
|
|
@ -28,5 +29,6 @@ typedef struct {
|
|||
ActionList* new_list();
|
||||
void add_action(ActionList*, Action);
|
||||
void append_list(ActionList*, ActionList*);
|
||||
void free_action_list(ActionList*);
|
||||
|
||||
#endif // ACTION_LIST_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue