Data Structures | Functions
move.c File Reference
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include "nvim/ascii.h"
#include "nvim/move.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
#include "nvim/diff.h"
#include "nvim/edit.h"
#include "nvim/fold.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
#include "nvim/misc1.h"
#include "nvim/option.h"
#include "nvim/popupmnu.h"
#include "nvim/screen.h"
#include "nvim/strings.h"
#include "nvim/window.h"

Data Structures

struct  lineoff_T
 

Functions

void reset_cursorline (void)
 
void update_topline_redraw (void)
 
void update_topline (void)
 
void update_topline_win (win_T *win)
 
void update_curswant (void)
 
void check_cursor_moved (win_T *wp)
 
void changed_window_setting (void)
 
void changed_window_setting_win (win_T *wp)
 
void set_topline (win_T *wp, linenr_T lnum)
 
void changed_cline_bef_curs (void)
 
void changed_cline_bef_curs_win (win_T *wp)
 
void changed_line_abv_curs (void)
 
void changed_line_abv_curs_win (win_T *wp)
 
void validate_botline (void)
 
void invalidate_botline (void)
 
void invalidate_botline_win (win_T *wp)
 
void approximate_botline_win (win_T *wp)
 
int cursor_valid (void)
 
void validate_cursor (void)
 
void validate_virtcol (void)
 
void validate_virtcol_win (win_T *wp)
 
void validate_cursor_col (void)
 
int win_col_off (win_T *wp)
 
int curwin_col_off (void)
 
int win_col_off2 (win_T *wp)
 
int curwin_col_off2 (void)
 
void curs_columns (int may_scroll)
 
void scrolldown (long line_count, int byfold)
 
void scrollup (long line_count, int byfold)
 
void check_topfill (win_T *wp, bool down)
 
void scrolldown_clamp (void)
 
void scrollup_clamp (void)
 
void scroll_cursor_top (int min_scroll, int always)
 
void set_empty_rows (win_T *wp, int used)
 
void scroll_cursor_bot (int min_scroll, int set_topbot)
 
void scroll_cursor_halfway (int atend)
 
void cursor_correct (void)
 
int onepage (Direction dir, long count)
 
void halfpage (bool flag, linenr_T Prenum)
 
void do_check_cursorbind (void)
 

Function Documentation

void approximate_botline_win ( win_T wp)
void changed_cline_bef_curs ( void  )
void changed_cline_bef_curs_win ( win_T wp)
void changed_line_abv_curs ( void  )
void changed_line_abv_curs_win ( win_T wp)
void changed_window_setting ( void  )
void changed_window_setting_win ( win_T wp)
void check_cursor_moved ( win_T wp)
void check_topfill ( win_T wp,
bool  down 
)
void curs_columns ( int  may_scroll)
void cursor_correct ( void  )
int cursor_valid ( void  )
int curwin_col_off ( void  )
int curwin_col_off2 ( void  )
void do_check_cursorbind ( void  )
void halfpage ( bool  flag,
linenr_T  Prenum 
)
void invalidate_botline ( void  )
void invalidate_botline_win ( win_T wp)
int onepage ( Direction  dir,
long  count 
)
void reset_cursorline ( void  )
void scroll_cursor_bot ( int  min_scroll,
int  set_topbot 
)
void scroll_cursor_halfway ( int  atend)

Recompute topline to put the cursor halfway across the window

Parameters
atendif true, also put the cursor halfway to the end of the file.
void scroll_cursor_top ( int  min_scroll,
int  always 
)
void scrolldown ( long  line_count,
int  byfold 
)
void scrolldown_clamp ( void  )
void scrollup ( long  line_count,
int  byfold 
)
void scrollup_clamp ( void  )
void set_empty_rows ( win_T wp,
int  used 
)
void set_topline ( win_T wp,
linenr_T  lnum 
)
void update_curswant ( void  )
void update_topline ( void  )
void update_topline_redraw ( void  )
void update_topline_win ( win_T win)
void validate_botline ( void  )
void validate_cursor ( void  )
void validate_cursor_col ( void  )
void validate_virtcol ( void  )
void validate_virtcol_win ( win_T wp)
int win_col_off ( win_T wp)
int win_col_off2 ( win_T wp)