From db5eec496478c39f45f7e40d835c8191f543a9c5 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Tue, 8 Feb 2005 06:48:54 +0000 Subject: [PATCH] * edit.h: Reformatted #definitions. --- edit/ChangeLog | 4 ++++ edit/edit.h | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/edit/ChangeLog b/edit/ChangeLog index b0f25ddb6..c7c671f4e 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,7 @@ +2005-02-08 Roland Illig + + * edit.h: Reformatted #definitions. + 2005-02-07 Roland Illig * *.c: Removed trailing whitespace. diff --git a/edit/edit.h b/edit/edit.h index 616d0c16e..669d3c79b 100644 --- a/edit/edit.h +++ b/edit/edit.h @@ -41,11 +41,11 @@ #define N_menus 5 -#define SEARCH_DIALOG_OPTION_NO_SCANF 1 -#define SEARCH_DIALOG_OPTION_NO_REGEX 2 -#define SEARCH_DIALOG_OPTION_NO_CASE 4 -#define SEARCH_DIALOG_OPTION_BACKWARDS 8 -#define SEARCH_DIALOG_OPTION_BOOKMARK 16 +#define SEARCH_DIALOG_OPTION_NO_SCANF (1 << 0) +#define SEARCH_DIALOG_OPTION_NO_REGEX (1 << 1) +#define SEARCH_DIALOG_OPTION_NO_CASE (1 << 2) +#define SEARCH_DIALOG_OPTION_BACKWARDS (1 << 3) +#define SEARCH_DIALOG_OPTION_BOOKMARK (1 << 4) #define EDIT_KEY_EMULATION_NORMAL 0 #define EDIT_KEY_EMULATION_EMACS 1 @@ -60,8 +60,8 @@ #define REDRAW_CHAR_ONLY (1 << 7) #define REDRAW_COMPLETELY (1 << 8) -#define EDIT_TEXT_HORIZONTAL_OFFSET 0 -#define EDIT_TEXT_VERTICAL_OFFSET 1 +#define EDIT_TEXT_HORIZONTAL_OFFSET 0 +#define EDIT_TEXT_VERTICAL_OFFSET 1 #define EDIT_RIGHT_EXTREME option_edit_right_extreme #define EDIT_LEFT_EXTREME option_edit_left_extreme @@ -99,18 +99,18 @@ #define START_STACK_SIZE 32 /* Some codes that may be pushed onto or returned from the undo stack */ -#define CURS_LEFT 601 -#define CURS_RIGHT 602 -#define DELCHAR 603 -#define BACKSPACE 604 -#define STACK_BOTTOM 605 -#define CURS_LEFT_LOTS 606 -#define CURS_RIGHT_LOTS 607 -#define COLUMN_ON 608 -#define COLUMN_OFF 609 -#define MARK_1 1000 -#define MARK_2 700000000 -#define KEY_PRESS 1400000000 +#define CURS_LEFT 601 +#define CURS_RIGHT 602 +#define DELCHAR 603 +#define BACKSPACE 604 +#define STACK_BOTTOM 605 +#define CURS_LEFT_LOTS 606 +#define CURS_RIGHT_LOTS 607 +#define COLUMN_ON 608 +#define COLUMN_OFF 609 +#define MARK_1 1000 +#define MARK_2 700000000 +#define KEY_PRESS 1400000000 /* Tabs spaces: (sofar only HALF_TAB_SIZE is used: */ #define TAB_SIZE option_tab_spacing