ze
Loading...
Searching...
No Matches
Functions
row.h File Reference

Row data structure manipulation and conversions. More...

#include "ze.h"
Include dependency graph for row.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int editorRowCxToRx (erow *row, int cx)
 Convert an index in characters (cx) to a render index (rx).
 
int editorRowRxToCx (erow *row, int rx)
 Convert a render index (rx) to a character index (cx).
 
void editorUpdateRow (erow *row)
 Recompute render, rsize, and syntax highlighting for a row.
 
void editorInsertRow (int at, char *s, size_t len)
 Insert a new row at position at initialized from a string.
 
void editorFreeRow (erow *row)
 Free dynamic memory associated with a row.
 
void editorDelRow (int at)
 Delete row at index at.
 
void editorRowInsertChar (erow *row, int at, int c)
 Insert a character into a row at index at.
 
void editorRowAppendString (erow *row, char *s, size_t len)
 Append a byte sequence to the end of a row.
 
void editorRowDelChar (erow *row, int at)
 Delete a character at index at in a row.
 
void editorDelRowAtChar (erow *row, int at)
 Delete from a row starting at a character index to the end of the line.
 

Detailed Description

Row data structure manipulation and conversions.