From d3d37433ae54ed5b2f0b4c7df68cee1bcc953c9d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 17 May 2005 21:49:19 +0000 Subject: [PATCH] mention the support for moving to a different column in the prompt formerly known as the "Go to Line" prompt, and also in the help text where possible git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2525 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 7 ++++--- src/global.c | 3 ++- src/search.c | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c240c1cd..e79f6584 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,9 +16,10 @@ CVS code - - Add the ability to open a file on a specified column as well as a specified line, by allowing an argument of the form +LINE,COLUMN. New function parse_line_column(); changes to - main(), do_gotoline() (renamed do_gotolinecolumn()), - do_gotoline_void() (renamed do_gotolinecolumn_void()), nano.1, - and nano.texi. (DLR, suggested by PFTank) + shortcut_init(), main(), do_gotoline() (renamed + do_gotolinecolumn()), do_gotoline_void() (renamed + do_gotolinecolumn_void()), nano.1, and nano.texi. (DLR, + suggested by PFTank) - cut.c: cut_line() - Set placewewant properly after cutting a line, to avoid a diff --git a/src/global.c b/src/global.c index aeaf7b74..e71183a8 100644 --- a/src/global.c +++ b/src/global.c @@ -284,7 +284,8 @@ void shortcut_init(bool unjustify) N_("Uncut from the cutbuffer into the current line"); const char *nano_cursorpos_msg = N_("Show the position of the cursor"); const char *nano_spell_msg = N_("Invoke the spell checker, if available"); - const char *nano_gotoline_msg = N_("Go to a specific line number"); + const char *nano_gotoline_msg = + N_("Go to a specific line number and column number"); const char *nano_replace_msg = N_("Replace text within the editor"); #ifndef NANO_SMALL const char *nano_mark_msg = N_("Mark text at the cursor position"); diff --git a/src/search.c b/src/search.c index 214d2edf..3b3f6fc5 100644 --- a/src/search.c +++ b/src/search.c @@ -978,7 +978,7 @@ void do_gotolinecolumn(int line, ssize_t column, bool use_answer, bool #ifndef NANO_SMALL NULL, #endif - _("Enter line number")); + _("Enter line number, column number")); free(ans);