uemacs/basic.h

35 lines
822 B
C
Raw Normal View History

2016-05-22 14:22:39 +00:00
/* basic.h -- basic commands for cursor movement in active window */
2013-05-19 00:13:48 +00:00
#ifndef _BASIC_H_
#define _BASIC_H_
2016-05-22 14:22:39 +00:00
#include "retcode.h"
/*
** $overlap is the size of the line overlap when doing page forw/back
** if 0, page will move by 2/3 of the window size (1/3 page overlap)
** default to 0
*/
#define DEFAULT_OVERLAP 0
2013-10-10 03:49:04 +00:00
extern int overlap ; /* line overlap in forw/back page */
2016-05-22 14:22:39 +00:00
2013-10-10 03:49:04 +00:00
extern int curgoal ; /* Goal for C-P, C-N */
2016-05-22 14:22:39 +00:00
boolean gotobol( int f, int n) ;
boolean gotoeol( int f, int n) ;
2013-05-19 00:13:48 +00:00
int gotoline( int f, int n) ;
2016-05-22 14:22:39 +00:00
boolean gotobob( int f, int n) ;
boolean gotoeob( int f, int n) ;
boolean forwline( int f, int n) ;
boolean backline( int f, int n) ;
boolean forwpage( int f, int n) ;
boolean backpage( int f, int n) ;
boolean setmark( int f, int n) ;
boolean swapmark( int f, int n) ;
2013-05-19 00:13:48 +00:00
#endif
2016-05-22 14:22:39 +00:00
/* end of basic.h */