utf8 processing without struct

This commit is contained in:
2026-05-03 23:32:40 +02:00
parent eae85c32ca
commit 8e1b4d2f86
23 changed files with 637 additions and 906 deletions
+6 -12
View File
@@ -8,22 +8,16 @@
#include <time.h>
#include <unistd.h>
int editorRowCxToRx(erow *row, int cursor_x);
void editorInsertRow(int at, char *s, int len);
int editorRowRxToCx(erow *row, int rx);
void editorFreeRow(row_t *row);
void editorUpdateRow(erow *row);
int editorRowCxToByte(const row_t *row, int cursor_x);
void editorInsertRow(int at, char *s, size_t len);
int editorRowCharCount(row_t *row);
void editorFreeRow(erow *row);
void editorRowInsertBytes(row_t *row, int at, const char *src, int len);
void editorDelRow(int at);
void editorRowInsertChar(erow *row, int at, utf_8_char_t c);
void editorRowAppendString(erow *row, char *s, size_t len);
void editorRowDelchar(erow *row, int at);
void editorRowDelByte(row_t *row, int at, int n);
#endif // ROW_OP_H_