nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] [PATCH] help: add a relevant explanatory text for the linte


From: Benno Schulenberg
Subject: [Nano-devel] [PATCH] help: add a relevant explanatory text for the linter
Date: Wed, 26 Sep 2018 21:04:45 +0200

This fixes https://savannah.gnu.org/bugs/?54713.
---
 src/help.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/help.c b/src/help.c
index e928d2ae..f3e2d113 100644
--- a/src/help.c
+++ b/src/help.c
@@ -421,6 +421,15 @@ void help_init(void)
                                "command.\n\n");
                htx[2] = N_(" The following function keys are "
                                "available in Execute Command mode:\n\n");
+       } else if (currmenu == MLINTER) {
+               htx[0] = N_("=== Linter ===\n\n "
+                               "In this mode, the status bar shows an error 
message or "
+                               "warning, and the cursor is put at the 
corresponding "
+                               "position in the file.  With PageUp and 
PageDown you "
+                               "can switch to earlier and later 
messages.\n\n");
+               htx[1] = N_(" The following function keys are "
+                               "available in Linter mode:\n\n");
+               htx[2] = NULL;
        }
 #endif /* !NANO_TINY */
        else {
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]