Allow extended hinting g-mode also for ;o.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 17 Jul 2017 22:10:51 +0000 (00:10 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 17 Jul 2017 22:10:51 +0000 (00:10 +0200)
The ';o' hinting was not allowed for extended hinting because it makes no
sense to keep hinting open when opening a link into the same window. But
the ';o' hinting matches also form fields so it is useful to allow it
for extended hinting too. So the user can open the extended hinting by
'g;o' and toggle radio buttons and checkboxes and finally submit the
form.

doc/vimb.1
src/hints.c

index f4a2a73..2bec4af 100644 (file)
@@ -293,7 +293,7 @@ Like normal hinting, except that after a hint is selected, hints
 remain visible so that another one can be selected with the same action
 as the first.
 Note that the extended hint mode can only be combined with the following
-hint modes \fII p P s t y Y\fP.
+hint modes \fII p P s t y Y\fP.
 .SS Searching
 .TP
 .BI / QUERY ", ?" QUERY
index 472fe1d..e196861 100644 (file)
@@ -228,10 +228,10 @@ gboolean hints_parse_prompt(const char *prompt, char *mode, gboolean *is_gmode)
     char pmode = '\0';
 #ifdef FEATURE_QUEUE
     static char *modes   = "eiIoOpPstTxyY";
-    static char *g_modes = "IpPstyY";
+    static char *g_modes = "IopPstyY";
 #else
     static char *modes   = "eiIoOstTxyY";
-    static char *g_modes = "IstyY";
+    static char *g_modes = "IostyY";
 #endif
 
     if (!prompt) {