[BACK]Return to region.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/region.c between version 1.39 and 1.40

version 1.39, 2021/03/01 10:51:14 version 1.40, 2023/03/08 04:43:11
Line 39 
Line 39 
  * 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)
 {  {
Line 66 
Line 65 
  * 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)
 {  {
Line 112 
Line 110 
  * 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)
 {  {
Line 156 
Line 153 
  * 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)
 {  {
Line 285 
Line 281 
  * 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)
 {  {
Line 332 
Line 327 
 /*  /*
  * 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)
 {  {
Line 414 
Line 408 
 /*  /*
  * 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)
 {  {
Line 458 
Line 451 
 /*  /*
  * 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)
 {  {

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40