mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 21:20:45 +00:00
Extract cursor.h from misc{1,2}.h and memline.h
This commit is contained in:
27
src/nvim/cursor.h
Normal file
27
src/nvim/cursor.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef NVIM_CURSOR_H
|
||||
#define NVIM_CURSOR_H
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/misc2.h"
|
||||
|
||||
int coladvance(colnr_T wcol);
|
||||
int coladvance_force(colnr_T wcol);
|
||||
int getvpos(pos_T *pos, colnr_T wcol);
|
||||
int getviscol(void);
|
||||
int getviscol2(colnr_T col, colnr_T coladd);
|
||||
int inc_cursor(void);
|
||||
int dec_cursor(void);
|
||||
linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum);
|
||||
void check_cursor_lnum(void);
|
||||
void check_cursor_col(void);
|
||||
void check_cursor_col_win(win_T *win);
|
||||
void check_cursor(void);
|
||||
void adjust_cursor_col(void);
|
||||
int leftcol_changed(void);
|
||||
int gchar_cursor(void);
|
||||
void pchar_cursor(int c);
|
||||
char_u *ml_get_curline(void);
|
||||
char_u *ml_get_cursor(void);
|
||||
|
||||
#endif // NVIM_CURSOR_H
|
||||
|
||||
Reference in New Issue
Block a user