Functions
buffer_updates.c File Reference
#include "nvim/buffer_updates.h"
#include "nvim/memline.h"
#include "nvim/api/private/helpers.h"
#include "nvim/msgpack_rpc/channel.h"
#include "nvim/lua/executor.h"
#include "nvim/assert.h"
#include "nvim/buffer.h"

Functions

bool buf_updates_register (buf_T *buf, uint64_t channel_id, BufUpdateCallbacks cb, bool send_buffer)
 
bool buf_updates_active (buf_T *buf)
 
void buf_updates_send_end (buf_T *buf, uint64_t channelid)
 
void buf_updates_unregister (buf_T *buf, uint64_t channelid)
 
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)
 
void buf_updates_changedtick (buf_T *buf)
 
void buf_updates_changedtick_single (buf_T *buf, uint64_t channel_id)
 

Function Documentation

bool buf_updates_active ( buf_T buf)
void buf_updates_changedtick ( buf_T buf)
void buf_updates_changedtick_single ( buf_T buf,
uint64_t  channel_id 
)
bool buf_updates_register ( buf_T buf,
uint64_t  channel_id,
BufUpdateCallbacks  cb,
bool  send_buffer 
)
void buf_updates_send_changes ( buf_T buf,
linenr_T  firstline,
int64_t  num_added,
int64_t  num_removed,
bool  send_tick 
)
void buf_updates_send_end ( buf_T buf,
uint64_t  channelid 
)
void buf_updates_unregister ( buf_T buf,
uint64_t  channelid 
)
void buf_updates_unregister_all ( buf_T buf)