Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* message.c */ |
Bram Moolenaar | 32526b3 | 2019-01-19 17:43:09 +0100 | [diff] [blame] | 2 | int msg(char *s); |
| 3 | int verb_msg(char *s); |
| 4 | int msg_attr(char *s, int attr); |
| 5 | int msg_attr_keep(char *s, int attr, int keep); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 6 | char_u *msg_strtrunc(char_u *s, int force); |
Bram Moolenaar | a6b7a08 | 2016-08-10 20:53:05 +0200 | [diff] [blame] | 7 | void trunc_string(char_u *s, char_u *buf, int room_in, int buflen); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 8 | void reset_last_sourcing(void); |
| 9 | void msg_source(int attr); |
| 10 | int emsg_not_now(void); |
Bram Moolenaar | e0c31f6 | 2017-03-01 15:07:05 +0100 | [diff] [blame] | 11 | void ignore_error_for_testing(char_u *error); |
Bram Moolenaar | b869c0d | 2016-07-20 00:10:51 +0200 | [diff] [blame] | 12 | void do_perror(char *msg); |
Bram Moolenaar | f9e3e09 | 2019-01-13 23:38:42 +0100 | [diff] [blame] | 13 | int emsg(char *s); |
Bram Moolenaar | f9e3e09 | 2019-01-13 23:38:42 +0100 | [diff] [blame] | 14 | void iemsg(char *s); |
Bram Moolenaar | 95f0960 | 2016-11-10 20:01:45 +0100 | [diff] [blame] | 15 | void internal_error(char *where); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 16 | void emsg_invreg(int name); |
Bram Moolenaar | 32526b3 | 2019-01-19 17:43:09 +0100 | [diff] [blame] | 17 | char *msg_trunc_attr(char *s, int force, int attr); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 18 | char_u *msg_may_trunc(int force, char_u *s); |
| 19 | int delete_first_msg(void); |
| 20 | void ex_messages(exarg_T *eap); |
| 21 | void msg_end_prompt(void); |
| 22 | void wait_return(int redraw); |
| 23 | void set_keep_msg(char_u *s, int attr); |
| 24 | void set_keep_msg_from_hist(void); |
| 25 | void msg_start(void); |
| 26 | void msg_starthere(void); |
| 27 | void msg_putchar(int c); |
| 28 | void msg_putchar_attr(int c, int attr); |
| 29 | void msg_outnum(long n); |
| 30 | void msg_home_replace(char_u *fname); |
| 31 | void msg_home_replace_hl(char_u *fname); |
| 32 | int msg_outtrans(char_u *str); |
| 33 | int msg_outtrans_attr(char_u *str, int attr); |
| 34 | int msg_outtrans_len(char_u *str, int len); |
| 35 | char_u *msg_outtrans_one(char_u *p, int attr); |
| 36 | int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); |
| 37 | void msg_make(char_u *arg); |
| 38 | int msg_outtrans_special(char_u *strstart, int from); |
| 39 | char_u *str2special_save(char_u *str, int is_lhs); |
| 40 | char_u *str2special(char_u **sp, int from); |
| 41 | void str2specialbuf(char_u *sp, char_u *buf, int len); |
| 42 | void msg_prt_line(char_u *s, int list); |
Bram Moolenaar | 32526b3 | 2019-01-19 17:43:09 +0100 | [diff] [blame] | 43 | void msg_puts(char *s); |
| 44 | void msg_puts_title(char *s); |
| 45 | void msg_outtrans_long_attr(char_u *longstr, int attr); |
| 46 | void msg_outtrans_long_len_attr(char_u *longstr, int len, int attr); |
| 47 | void msg_puts_attr(char *s, int attr); |
Bram Moolenaar | 7b668e8 | 2016-08-23 23:51:21 +0200 | [diff] [blame] | 48 | int message_filtered(char_u *msg); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 49 | void may_clear_sb_text(void); |
Bram Moolenaar | f2405ed | 2017-03-16 19:58:25 +0100 | [diff] [blame] | 50 | void sb_text_start_cmdline(void); |
| 51 | void sb_text_end_cmdline(void); |
| 52 | void clear_sb_text(int all); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 53 | void show_sb_text(void); |
| 54 | void msg_sb_eol(void); |
| 55 | int msg_use_printf(void); |
| 56 | void mch_errmsg(char *str); |
| 57 | void mch_msg(char *str); |
| 58 | void msg_moremsg(int full); |
| 59 | void repeat_message(void); |
| 60 | void msg_clr_eos(void); |
| 61 | void msg_clr_eos_force(void); |
| 62 | void msg_clr_cmdline(void); |
| 63 | int msg_end(void); |
| 64 | void msg_check(void); |
| 65 | int redirecting(void); |
| 66 | void verbose_enter(void); |
| 67 | void verbose_leave(void); |
| 68 | void verbose_enter_scroll(void); |
| 69 | void verbose_leave_scroll(void); |
| 70 | void verbose_stop(void); |
| 71 | int verbose_open(void); |
| 72 | void give_warning(char_u *message, int hl); |
Bram Moolenaar | f8be461 | 2017-06-23 20:52:40 +0200 | [diff] [blame] | 73 | void give_warning2(char_u *message, char_u *a1, int hl); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 74 | void msg_advance(int col); |
| 75 | int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd); |
| 76 | void display_confirm_msg(void); |
| 77 | int vim_dialog_yesno(int type, char_u *title, char_u *message, int dflt); |
| 78 | int vim_dialog_yesnocancel(int type, char_u *title, char_u *message, int dflt); |
| 79 | int vim_dialog_yesnoallcancel(int type, char_u *title, char_u *message, int dflt); |
| 80 | char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 81 | /* vim: set ft=c : */ |