#ifndef ROW_OP_H_ #define ROW_OP_H_ #include "data.h" #include "define.h" #include #include #include #include void bufferInsertRow(struct buffer_t *buffer, int at, char *s, size_t len); int editorRowCxToByte(const row_t *row, int cursor_x); int editorRowCharCount(row_t *row); void bufferDelRow(struct buffer_t *buffer, int at); void editorRowInsertBytes(row_t *row, int at, const char *src, int len); void editorRowDelByte(row_t *row, int at, int n); void bufferRowInsertChar(struct buffer_t *buffer, frow *row, int at, int c); void bufferRowAppendString(struct buffer_t *buffer, frow *row, char *s, size_t len); void bufferRowDelchar(struct buffer_t *buffer, frow *row, int at); #endif // ROW_OP_H_