This commit is contained in:
KillTheMule 2018-04-24 21:45:36 +02:00
parent 3866137eed
commit 491efc89d2
4 changed files with 10 additions and 10 deletions

View File

@ -123,10 +123,10 @@ void buf_updates_unregister_all(buf_T *buf)
}
void buf_updates_send_changes(buf_T *buf,
linenr_T firstline,
int64_t num_added,
int64_t num_removed,
bool send_tick)
linenr_T firstline,
int64_t num_added,
int64_t num_removed,
bool send_tick)
{
// if one the channels doesn't work, put its ID here so we can remove it later
uint64_t badchannelid = 0;

View File

@ -7,10 +7,10 @@ bool buf_updates_register(buf_T *buf, uint64_t channel_id, bool send_buffer);
void buf_updates_unregister(buf_T *buf, uint64_t channel_id);
void buf_updates_unregister_all(buf_T *buf);
void buf_updates_send_changes(buf_T *buf,
linenr_T firstline,
int64_t num_added,
int64_t num_removed,
bool send_tick);
linenr_T firstline,
int64_t num_added,
int64_t num_removed,
bool send_tick);
void buf_updates_changedtick(buf_T *buf);
#endif // NVIM_BUFFER_UPDATES_H

View File

@ -4023,7 +4023,7 @@ skip:
int64_t num_added = last_line - first_line;
int64_t num_removed = num_added - i;
buf_updates_send_changes(curbuf, first_line, num_added, num_removed,
do_buf_event);
do_buf_event);
}
}

View File

@ -754,7 +754,7 @@ deleteFold (
// notification that includes every line that was part of the fold
int64_t num_changed = last_lnum - first_lnum;
buf_updates_send_changes(curbuf, first_lnum, num_changed,
num_changed, true);
num_changed, true);
}
}
}