Change the TSInputEdit struct to work with old/new start and end positions

This commit is contained in:
Max Brunsfeld 2018-05-17 11:14:51 -07:00
parent 95be6e3bee
commit 074c051094
4 changed files with 81 additions and 69 deletions

View file

@ -57,11 +57,11 @@ typedef struct {
typedef struct {
uint32_t start_byte;
uint32_t bytes_removed;
uint32_t bytes_added;
uint32_t old_end_byte;
uint32_t new_end_byte;
TSPoint start_point;
TSPoint extent_removed;
TSPoint extent_added;
TSPoint old_end_point;
TSPoint new_end_point;
} TSInputEdit;
typedef struct {