📄 clipboard.h.svn-base
字号:
/* clipboard.h */#ifndef CLIPBOARD_H_#define CLIPBOARD_H_#include "buffer.h"typedef enum{CLIP_STRING, CLIP_BUFFER} cliptype;typedef struct bufstack{ buf_t **stack; int buf_num;}bufstack_t;typedef struct clip{ cliptype clip_type; char * string; bufstack_t buf_stack;}clip_t;typedef struct clipboard{ clip_t *clip;} clipboard_t;clip_t * clip_new(void);int clip_free(clip_t * clip);int clipboard_add_clip(clipboard_t * cb, clip_t * clip);int clipboard_clear(clipboard_t * cb);int allocate_buf_array(bufstack_t * bs, int buf_num);#endif /* CLIPBOARD_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -