Commit b725353a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

per Jordi's suggestion, remove the Meta-U toggle for -U/--quickblank;

the rcfile option is enough for those that use it regularly


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2749 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 8 additions and 15 deletions
+8 -15
...@@ -109,14 +109,13 @@ CVS code - ...@@ -109,14 +109,13 @@ CVS code -
- Since the DISABLE_CURPOS flag is only used in winio.c, reduce - Since the DISABLE_CURPOS flag is only used in winio.c, reduce
it to a static bool there. Changes to statusbar() and it to a static bool there. Changes to statusbar() and
disable_cursorpos(). (DLR) disable_cursorpos(). (DLR)
- Add -U/--quickblank option, a Meta-U toggle, and a - Add -U/--quickblank option and a "quickblank" rcfile option to
"quickblank" rcfile option to blank the statusbar after 1 blank the statusbar after 1 keystroke instead of 25. Note
keystroke instead of 25. Note that this obviously has no that this obviously has no effect when constant cursor
effect when constant cursor position display is turned on, and position display is turned on, and that this is disabled when
that this is disabled when NANO_SMALL is defined. Changes to NANO_SMALL is defined. Changes to usage(), main(),
toggle_init(), usage(), main(), statusbar(), nanorc.sample, statusbar(), nanorc.sample, nano.1, and nanorc.5. (DLR,
nano.1, nanorc.5, and nano.texi. (DLR, suggested by CHAO suggested by CHAO Wei-Lun)
Wei-Lun)
- chars.c: - chars.c:
make_mbstring() make_mbstring()
- Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a - Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@smallbook @smallbook
@set EDITION 0.1 @set EDITION 0.1
@set VERSION 1.3.8 @set VERSION 1.3.8
@set UPDATED 19 Jun 2005 @set UPDATED 21 Jun 2005
@dircategory Editors @dircategory Editors
@direntry @direntry
...@@ -386,9 +386,6 @@ your .nanorc. ...@@ -386,9 +386,6 @@ your .nanorc.
@item Smooth Scrolling Toggle (Meta-S) @item Smooth Scrolling Toggle (Meta-S)
toggles the -S (@code{--smooth}) command line flag. toggles the -S (@code{--smooth}) command line flag.
@item Quick Statusbar Blanking Toggle (Meta-U)
toggles the -U (@code{--quickblank}) command line flag.
@item Expert/No Help Toggle (Meta-X) @item Expert/No Help Toggle (Meta-X)
toggles the -x (@code{--nohelp}) command line flag. toggles the -x (@code{--nohelp}) command line flag.
......
...@@ -1128,8 +1128,6 @@ void toggle_init(void) ...@@ -1128,8 +1128,6 @@ void toggle_init(void)
toggle_init_one(TOGGLE_SUSPEND_KEY, N_("Suspend"), SUSPEND); toggle_init_one(TOGGLE_SUSPEND_KEY, N_("Suspend"), SUSPEND);
toggle_init_one(TOGGLE_CONST_KEY, toggle_init_one(TOGGLE_CONST_KEY,
N_("Constant cursor position display"), CONST_UPDATE); N_("Constant cursor position display"), CONST_UPDATE);
toggle_init_one(TOGGLE_QUICKBLANK_KEY,
N_("Quick statusbar blanking"), QUICK_BLANK);
toggle_init_one(TOGGLE_AUTOINDENT_KEY, N_("Auto indent"), toggle_init_one(TOGGLE_AUTOINDENT_KEY, N_("Auto indent"),
AUTOINDENT); AUTOINDENT);
toggle_init_one(TOGGLE_TABSTOSPACES_KEY, toggle_init_one(TOGGLE_TABSTOSPACES_KEY,
......
...@@ -491,7 +491,6 @@ typedef struct syntaxtype { ...@@ -491,7 +491,6 @@ typedef struct syntaxtype {
#define TOGGLE_WHITESPACE_KEY NANO_ALT_P #define TOGGLE_WHITESPACE_KEY NANO_ALT_P
#define TOGGLE_MORESPACE_KEY NANO_ALT_O #define TOGGLE_MORESPACE_KEY NANO_ALT_O
#define TOGGLE_TABSTOSPACES_KEY NANO_ALT_E #define TOGGLE_TABSTOSPACES_KEY NANO_ALT_E
#define TOGGLE_QUICKBLANK_KEY NANO_ALT_U
#endif /* !NANO_SMALL */ #endif /* !NANO_SMALL */
#define MAIN_VISIBLE 12 #define MAIN_VISIBLE 12
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment