version 1.46, 2018/11/17 09:52:34 |
version 1.47, 2023/03/08 04:43:11 |
|
|
* preceding line. Keep doing this until a line with only spaces is found or |
* preceding line. Keep doing this until a line with only spaces is found or |
* the start of buffer. |
* the start of buffer. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
gotobop(int f, int n) |
gotobop(int f, int n) |
{ |
{ |
|
|
* Move to end of paragraph. |
* Move to end of paragraph. |
* See comments for gotobop(). Same, but moving forwards. |
* See comments for gotobop(). Same, but moving forwards. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
gotoeop(int f, int n) |
gotoeop(int f, int n) |
{ |
{ |
|
|
* Justify a paragraph. Fill the current paragraph according to the current |
* Justify a paragraph. Fill the current paragraph according to the current |
* fill column. |
* fill column. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
fillpara(int f, int n) |
fillpara(int f, int n) |
{ |
{ |
|
|
* the cursor is on an empty line, move down the buffer to the first line with |
* the cursor is on an empty line, move down the buffer to the first line with |
* non-space characters. Then mark n paragraphs and delete. |
* non-space characters. Then mark n paragraphs and delete. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
killpara(int f, int n) |
killpara(int f, int n) |
{ |
{ |
|
|
* This leaves the cursor at the beginning of the paragraph where markpara() |
* This leaves the cursor at the beginning of the paragraph where markpara() |
* was invoked. |
* was invoked. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
markpara(int f, int n) |
markpara(int f, int n) |
{ |
{ |
|
|
* multiple times, transpose to the n'th paragraph. If invoked between |
* multiple times, transpose to the n'th paragraph. If invoked between |
* paragraphs, move to the previous paragraph, then continue. |
* paragraphs, move to the previous paragraph, then continue. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
transposepara(int f, int n) |
transposepara(int f, int n) |
{ |
{ |
|
|
* Insert char with work wrap. Check to see if we're past fillcol, and if so, |
* Insert char with work wrap. Check to see if we're past fillcol, and if so, |
* justify this line. As a last step, justify the line. |
* justify this line. As a last step, justify the line. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
fillword(int f, int n) |
fillword(int f, int n) |
{ |
{ |