Deleting two unused things, and adding two comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5257 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
7c2f53b2a9
commit
025553769e
|
@ -1,6 +1,7 @@
|
|||
2015-06-17 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/rcfile.c: Allow a tiny nano's ~/.nanorc to enable search and
|
||||
position histories. Also sort the options more strictly.
|
||||
* src/nano.h: Delete two unused things, and add two comments.
|
||||
|
||||
2015-06-17 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/text.c (do_undo, add_undo): When undoing a Backspace at the tail
|
||||
|
|
12
src/nano.h
12
src/nano.h
|
@ -192,6 +192,7 @@ typedef enum {
|
|||
JOIN, PASTE, INSERT, ENTER, OTHER
|
||||
} undo_type;
|
||||
|
||||
/* Structure types. */
|
||||
typedef struct color_pair {
|
||||
int pairnum;
|
||||
/* The color pair number used for this foreground color and
|
||||
|
@ -272,7 +273,7 @@ typedef struct lintstruct {
|
|||
/* Previous error. */
|
||||
} lintstruct;
|
||||
|
||||
|
||||
/* Flags that indicate how a multiline regex applies to a line. */
|
||||
#define CNONE (1<<1)
|
||||
/* Yay, regex doesn't apply to this line at all! */
|
||||
#define CBEGINBEFORE (1<<2)
|
||||
|
@ -283,13 +284,9 @@ typedef struct lintstruct {
|
|||
/* Whole line engulfed by the regex, start < me, end > me. */
|
||||
#define CSTARTENDHERE (1<<5)
|
||||
/* Regex starts and ends within this line. */
|
||||
#define CWTF (1<<6)
|
||||
/* Something else. */
|
||||
|
||||
#endif /* !DISABLE_COLOR */
|
||||
|
||||
|
||||
/* Structure types. */
|
||||
/* More structure types. */
|
||||
typedef struct filestruct {
|
||||
char *data;
|
||||
/* The text of this line. */
|
||||
|
@ -572,8 +569,7 @@ enum
|
|||
/* An imaginary key for when we get a SIGWINCH (window resize). */
|
||||
#define KEY_WINCH -2
|
||||
|
||||
/* Extra bits for the undo function. */
|
||||
#define UNdel_del (1<<0)
|
||||
/* Some extra bits for the undo function. */
|
||||
#define UNdel_backspace (1<<1)
|
||||
#define UNcut_marked_forward (1<<2)
|
||||
#define UNcut_cutline (1<<3)
|
||||
|
|
Loading…
Reference in New Issue