mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00

Here's the list of squashed commits (for more info, see PR #378). - Define guicolor_T as a typedef in syntax.h - Move a big chunk of code from structs.h to buffer_defs.h - Move aco_save_T from structs.h to fileio.h - Move option_table_T from structs.h to hardcopy.h Aditionally: - Move the printer_opts global to hardcopy.c - Delete structs.h. Include buffer_defs.h where structs.h was included before. - Add header guards to option_defs.h - Put mark types and constants in new mark_defs.h - Move undo structs to undo_defs.h - Move memfile structs to new memfile_defs.h - Move expand_T and cmdmod_T to ex_cmds_defs.h - Move memline_T to memline_defs.h - Move many defs and types to ex_eval.h - Move syntax related types to syntax_defs.h - Move struct memfile to memfile_defs.h - struct buffblock and struct buffheader moved back to buffer_defs.h - Move some datatypes to hashtab.h and eval_defs.h - Move the buffer_defs.h include and TODOs for remaining unrelated types in buffer_defs.h
43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
#ifndef NEOVIM_MARK_H
|
|
#define NEOVIM_MARK_H
|
|
|
|
#include "buffer_defs.h"
|
|
#include "mark_defs.h"
|
|
#include "pos.h"
|
|
|
|
/* mark.c */
|
|
int setmark(int c);
|
|
int setmark_pos(int c, pos_T *pos, int fnum);
|
|
void setpcmark(void);
|
|
void checkpcmark(void);
|
|
pos_T *movemark(int count);
|
|
pos_T *movechangelist(int count);
|
|
pos_T *getmark_buf(buf_T *buf, int c, int changefile);
|
|
pos_T *getmark(int c, int changefile);
|
|
pos_T *getmark_buf_fnum(buf_T *buf, int c, int changefile, int *fnum);
|
|
pos_T *getnextmark(pos_T *startpos, int dir, int begin_line);
|
|
void fmarks_check_names(buf_T *buf);
|
|
int check_mark(pos_T *pos);
|
|
void clrallmarks(buf_T *buf);
|
|
char_u *fm_getname(fmark_T *fmark, int lead_len);
|
|
void do_marks(exarg_T *eap);
|
|
void ex_delmarks(exarg_T *eap);
|
|
void ex_jumps(exarg_T *eap);
|
|
void ex_changes(exarg_T *eap);
|
|
void mark_adjust(linenr_T line1, linenr_T line2, long amount,
|
|
long amount_after);
|
|
void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount,
|
|
long col_amount);
|
|
void copy_jumplist(win_T *from, win_T *to);
|
|
void free_jumplist(win_T *wp);
|
|
void set_last_cursor(win_T *win);
|
|
void free_all_marks(void);
|
|
int read_viminfo_filemark(vir_T *virp, int force);
|
|
void write_viminfo_filemarks(FILE *fp);
|
|
int removable(char_u *name);
|
|
int write_viminfo_marks(FILE *fp_out);
|
|
void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof,
|
|
int flags);
|
|
/* vim: set ft=c : */
|
|
#endif /* NEOVIM_MARK_H */
|