version 1.39, 2021/03/01 10:51:14 |
version 1.40, 2023/03/08 04:43:11 |
|
|
* Kill the region. Ask "getregion" to figure out the bounds of the region. |
* Kill the region. Ask "getregion" to figure out the bounds of the region. |
* Move "." to the start, and kill the characters. Mark is cleared afterwards. |
* Move "." to the start, and kill the characters. Mark is cleared afterwards. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
killregion(int f, int n) |
killregion(int f, int n) |
{ |
{ |
|
|
* clearing the mark afterwards. |
* clearing the mark afterwards. |
* This is a bit like a kill region followed by a yank. |
* This is a bit like a kill region followed by a yank. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
copyregion(int f, int n) |
copyregion(int f, int n) |
{ |
{ |
|
|
* the changes. Call "lchange" to ensure that redisplay is done in all |
* the changes. Call "lchange" to ensure that redisplay is done in all |
* buffers. |
* buffers. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
lowerregion(int f, int n) |
lowerregion(int f, int n) |
{ |
{ |
|
|
* doing the changes. Call "lchange" to ensure that redisplay is done in all |
* doing the changes. Call "lchange" to ensure that redisplay is done in all |
* buffers. |
* buffers. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
upperregion(int f, int n) |
upperregion(int f, int n) |
{ |
{ |
|
|
* beginning of the line after the end of the region. If an argument is |
* beginning of the line after the end of the region. If an argument is |
* given, prompts for the line prefix string. |
* given, prompts for the line prefix string. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
prefixregion(int f, int n) |
prefixregion(int f, int n) |
{ |
{ |
|
|
/* |
/* |
* Set line prefix string. Used by prefixregion. |
* Set line prefix string. Used by prefixregion. |
*/ |
*/ |
/* ARGSUSED */ |
|
int |
int |
setprefix(int f, int n) |
setprefix(int f, int n) |
{ |
{ |
|
|
/* |
/* |
* Pipe text from current region to external command. |
* Pipe text from current region to external command. |
*/ |
*/ |
/*ARGSUSED */ |
|
int |
int |
piperegion(int f, int n) |
piperegion(int f, int n) |
{ |
{ |
|
|
/* |
/* |
* Get command from mini-buffer and execute externally. |
* Get command from mini-buffer and execute externally. |
*/ |
*/ |
/*ARGSUSED */ |
|
int |
int |
shellcommand(int f, int n) |
shellcommand(int f, int n) |
{ |
{ |