Fixes to bracket_msg in global.c by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@798 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
352801cf4c
commit
2bef18210a
|
@ -22,7 +22,8 @@ CVS code -
|
||||||
- Bracket (brace, parens, etc) matching code by Ken Tyler.
|
- Bracket (brace, parens, etc) matching code by Ken Tyler.
|
||||||
New functions do_find_bracket(), changes to findnextstr(),
|
New functions do_find_bracket(), changes to findnextstr(),
|
||||||
command is Meta-] (hope you dont mind since I already sold off
|
command is Meta-] (hope you dont mind since I already sold off
|
||||||
Meta-O to the MacOS file code Ken...)
|
Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
|
||||||
|
by DLR.
|
||||||
- files.c:
|
- files.c:
|
||||||
do_writeout()
|
do_writeout()
|
||||||
- Expanded strings to not use %s and ?: to determine
|
- Expanded strings to not use %s and ?: to determine
|
||||||
|
|
8
global.c
8
global.c
|
@ -248,8 +248,10 @@ void shortcut_init(int unjustify)
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
char *nano_tofiles_msg = "", *nano_gotodir_msg = "", *nano_case_msg =
|
char *nano_tofiles_msg = "", *nano_gotodir_msg = "", *nano_case_msg =
|
||||||
"", *nano_reverse_msg = "", *nano_regexp_msg = "",
|
"", *nano_reverse_msg = "";
|
||||||
*nano_bracket_msg = "";
|
#ifdef HAVE_REGEX_H
|
||||||
|
char *nano_regexp_msg = "", *nano_bracket_msg = "";
|
||||||
|
#endif
|
||||||
|
|
||||||
nano_help_msg = _("Invoke the help menu");
|
nano_help_msg = _("Invoke the help menu");
|
||||||
nano_writeout_msg = _("Write the current file to disk");
|
nano_writeout_msg = _("Write the current file to disk");
|
||||||
|
@ -294,8 +296,10 @@ void shortcut_init(int unjustify)
|
||||||
nano_cancel_msg = _("Cancel the current function");
|
nano_cancel_msg = _("Cancel the current function");
|
||||||
nano_append_msg = _("Append to the current file");
|
nano_append_msg = _("Append to the current file");
|
||||||
nano_reverse_msg = _("Search backwards");
|
nano_reverse_msg = _("Search backwards");
|
||||||
|
#ifdef HAVE_REGEX_H
|
||||||
nano_regexp_msg = _("Use Regular expressions");
|
nano_regexp_msg = _("Use Regular expressions");
|
||||||
nano_bracket_msg = _("Find other bracket");
|
nano_bracket_msg = _("Find other bracket");
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sc_init_one(&main_list[0], NANO_HELP_KEY, _("Get Help"),
|
sc_init_one(&main_list[0], NANO_HELP_KEY, _("Get Help"),
|
||||||
|
|
2
nano.h
2
nano.h
|
@ -318,7 +318,7 @@ know what you're doing */
|
||||||
#define WRITEFILE_LIST_LEN (3 - NO_BROWSER)
|
#define WRITEFILE_LIST_LEN (3 - NO_BROWSER)
|
||||||
#define INSERTFILE_LIST_LEN (2 - NO_BROWSER)
|
#define INSERTFILE_LIST_LEN (2 - NO_BROWSER)
|
||||||
#define BROWSER_LIST_LEN 4
|
#define BROWSER_LIST_LEN 4
|
||||||
#define MAIN_LIST_LEN 27
|
#define MAIN_LIST_LEN (27 - NO_REGEX)
|
||||||
#define MAIN_VISIBLE 12
|
#define MAIN_VISIBLE 12
|
||||||
#define REPLACE_LIST_2_LEN 3
|
#define REPLACE_LIST_2_LEN 3
|
||||||
#define GOTO_LIST_LEN 3
|
#define GOTO_LIST_LEN 3
|
||||||
|
|
Loading…
Reference in New Issue