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);