-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathregion.h
32 lines (18 loc) · 968 Bytes
/
region.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef EMSYS_REGION_H
#define EMSYS_REGION_H 1
#include <stdint.h>
#include "emsys.h"
int markInvalid(struct editorBuffer *buf);
void editorSetMark(struct editorBuffer *buf);
void editorClearMark(struct editorBuffer *buf);
void editorKillRegion(struct editorConfig *ed, struct editorBuffer *buf);
void editorCopyRegion(struct editorConfig *ed, struct editorBuffer *buf);
void editorYank(struct editorConfig *ed, struct editorBuffer *buf);
void editorTransformRegion(struct editorConfig *ed, struct editorBuffer *buf,
uint8_t *(*transformer)(uint8_t *));
void editorReplaceRegex(struct editorConfig *ed, struct editorBuffer *buf);
void editorStringRectangle(struct editorConfig *ed, struct editorBuffer *buf);
void editorCopyRectangle(struct editorConfig *ed, struct editorBuffer *buf);
void editorKillRectangle(struct editorConfig *ed, struct editorBuffer *buf);
void editorYankRectangle(struct editorConfig *ed, struct editorBuffer *buf);
#endif