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-d3aeb78583b8master
parent
f83e5e2b13
commit
d3d37433ae
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue