version 1.5, 2001/02/12 21:51:55 |
version 1.6, 2001/05/23 22:20:34 |
|
|
*/ |
*/ |
#include "def.h" |
#include "def.h" |
|
|
VOID setgoal __P((void)); |
void setgoal __P((void)); |
|
|
/* |
/* |
* Go to beginning of line. |
* Go to beginning of line. |
|
|
int f, n; |
int f, n; |
{ |
{ |
|
|
(VOID) setmark(f, n); |
(void) setmark(f, n); |
curwp->w_dotp = lforw(curbp->b_linep); |
curwp->w_dotp = lforw(curbp->b_linep); |
curwp->w_doto = 0; |
curwp->w_doto = 0; |
curwp->w_flag |= WFHARD; |
curwp->w_flag |= WFHARD; |
|
|
int f, n; |
int f, n; |
{ |
{ |
|
|
(VOID) setmark(f, n); |
(void) setmark(f, n); |
curwp->w_dotp = lback(curbp->b_linep); |
curwp->w_dotp = lback(curbp->b_linep); |
curwp->w_doto = llength(curwp->w_dotp); |
curwp->w_doto = llength(curwp->w_dotp); |
curwp->w_flag |= WFHARD; |
curwp->w_flag |= WFHARD; |
|
|
* "curgoal", to the current cursor column. The column is never off |
* "curgoal", to the current cursor column. The column is never off |
* the edge of the screen; it's more like display then show position. |
* the edge of the screen; it's more like display then show position. |
*/ |
*/ |
VOID |
void |
setgoal() |
setgoal() |
{ |
{ |
|
|
|
|
* are used to scroll the display up (or down) one line at a time. |
* are used to scroll the display up (or down) one line at a time. |
*/ |
*/ |
#ifdef GOSMACS |
#ifdef GOSMACS |
VOID |
void |
forw1page(f, n) |
forw1page(f, n) |
int f, n; |
int f, n; |
{ |
{ |
|
|
forwpage(f | FFRAND, n); |
forwpage(f | FFRAND, n); |
} |
} |
|
|
VOID |
void |
back1page(f, n) |
back1page(f, n) |
int f, n; |
int f, n; |
{ |
{ |
|
|
return FALSE; |
return FALSE; |
} |
} |
wp = curwp; |
wp = curwp; |
(VOID) nextwind(f, n); |
(void) nextwind(f, n); |
(VOID) forwpage(f, n); |
(void) forwpage(f, n); |
curwp = wp; |
curwp = wp; |
curbp = wp->w_bufp; |
curbp = wp->w_bufp; |
return TRUE; |
return TRUE; |
|
|
/* |
/* |
* Internal set mark routine, used by other functions (daveb). |
* Internal set mark routine, used by other functions (daveb). |
*/ |
*/ |
VOID |
void |
isetmark() |
isetmark() |
{ |
{ |
|
|