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
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
/* 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)
/* 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. */
/* 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)