* edit-widget.h (struct macro): Move definition ...

* edit.h: ... here to fix compilation on HP-UX.
This commit is contained in:
Andrew V. Samoilov 2003-01-27 15:46:40 +00:00
parent 2aab2b278c
commit a132b94cf9
3 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2003-01-27 Andrew V. Samoilov <sav@bcs.zp.ua>
* edit-widget.h (struct macro): Move definition ...
* edit.h: ... here to fix compilation on HP-UX.
2002-12-25 Pavel Roskin <proski@gnu.org>
* editkeys.c: Move key maps to the file scope. Put common keys

View File

@ -7,11 +7,6 @@
#define MAX_MACRO_LENGTH 1024
#define N_LINE_CACHES 32
struct macro {
short command;
short ch;
};
#define BOOK_MARK_COLOR ((25 << 8) | 5)
#define BOOK_MARK_FOUND_COLOR ((26 << 8) | 4)

View File

@ -102,10 +102,15 @@
#define MARK_2 700000000
#define KEY_PRESS 1400000000
/*Tabs spaces: (sofar only HALF_TAB_SIZE is used: */
/* Tabs spaces: (sofar only HALF_TAB_SIZE is used: */
#define TAB_SIZE option_tab_spacing
#define HALF_TAB_SIZE ((int) option_tab_spacing / 2)
struct macro {
short command;
short ch;
};
struct selection {
unsigned char * text;
int len;
@ -221,7 +226,6 @@ void edit_left_word_move (WEdit * edit, int s);
void edit_right_word_move (WEdit * edit, int s);
void edit_get_selection (WEdit * edit);
struct macro;
int edit_save_macro_cmd (WEdit * edit, struct macro macro[], int n);
int edit_load_macro_cmd (WEdit * edit, struct macro macro[], int *n, int k);
void edit_delete_macro_cmd (WEdit * edit);