feat(actions): added content field to Action to copy the insert text

This commit is contained in:
lisk77 2025-09-04 23:12:36 +02:00
parent 1dd9e2cbca
commit 315e37b643
2 changed files with 15 additions and 0 deletions

View file

@ -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