]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - form/form.h
ncurses 5.4
[ncurses.git] / form / form.h
index 57f63a30f72d114777dd7cb5c21c97ed5524a145..d03c819cb3c7ce8ba1bca927ecf1629aa595f217 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998,2000 Free Software Foundation, Inc.                   *
+ * Copyright (c) 1998-2002,2003 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
 
 /****************************************************************************
  *   Author:  Juergen Pfeifer, 1995,1997                                    *
- *   Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en             *
  ****************************************************************************/
 
+/* $Id: form.h,v 0.17 2003/11/08 20:39:08 tom Exp $ */
+
 #ifndef FORM_H
 #define FORM_H
 
@@ -68,7 +69,7 @@ typedef struct fieldnode {
   int                   drows;    /* dynamic rows               */
   int                   dcols;    /* dynamic cols               */
   int                   maxgrow;  /* maximum field growth       */
-  int                  nrow;     /* offscreen rows             */
+  int                  nrow;     /* off-screen rows            */
   short                        nbuf;     /* additional buffers         */
   short                        just;     /* justification              */
   short                        page;     /* page on form               */
@@ -208,7 +209,7 @@ typedef void (*Form_Hook)(FORM *);
 #define REQ_DEL_CHAR    (KEY_MAX + 34) /* delete char at cursor        */
 #define REQ_DEL_PREV    (KEY_MAX + 35) /* delete char before cursor    */
 #define REQ_DEL_LINE    (KEY_MAX + 36) /* delete line at cursor        */
-#define REQ_DEL_WORD    (KEY_MAX + 37) /* delete line at cursor        */
+#define REQ_DEL_WORD    (KEY_MAX + 37) /* delete word at cursor        */
 #define REQ_CLR_EOL     (KEY_MAX + 38) /* clear to end of line         */
 #define REQ_CLR_EOF     (KEY_MAX + 39) /* clear to end of field        */
 #define REQ_CLR_FIELD   (KEY_MAX + 40) /* clear entire field           */