[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5435] improve appearance of help window
From: |
Gavin D. Smith |
Subject: |
[5435] improve appearance of help window |
Date: |
Mon, 07 Apr 2014 20:28:58 +0000 |
Revision: 5435
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5435
Author: gavin
Date: 2014-04-07 20:28:47 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
improve appearance of help window
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/infodoc.c
trunk/info/window.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-04-07 18:55:59 UTC (rev 5434)
+++ trunk/ChangeLog 2014-04-07 20:28:47 UTC (rev 5435)
@@ -1,5 +1,12 @@
2014-04-07 Gavin Smith <address@hidden>
+ * info/infodoc.c (dump_map_to_message_buffer): Check if
+ command is info_do_lowercase_variant.
+ * info/window.c (message_buffer_length_this_line): Do not
+ include leading newline in line length calculation.
+
+2014-04-07 Gavin Smith <address@hidden>
+
* doc/info-stnd.text: Document --init-file.
2014-04-07 Gavin Smith <address@hidden>
Modified: trunk/info/infodoc.c
===================================================================
--- trunk/info/infodoc.c 2014-04-07 18:55:59 UTC (rev 5434)
+++ trunk/info/infodoc.c 2014-04-07 20:28:47 UTC (rev 5435)
@@ -207,6 +207,12 @@
register int last;
char *doc, *name;
+ /* Do not display "Run command bound to this key's
+ lowercase variant" in help window. */
+ if (InfoFunction (map[i].function)
+ == (VFunction *) info_do_lowercase_version)
+ continue;
+
doc = function_documentation (map[i].function);
name = function_name (map[i].function);
Modified: trunk/info/window.c
===================================================================
--- trunk/info/window.c 2014-04-07 18:55:59 UTC (rev 5434)
+++ trunk/info/window.c 2014-04-07 20:28:47 UTC (rev 5435)
@@ -1358,8 +1358,11 @@
return 0;
p = strrchr (message_buffer.base, '\n');
- if (!p)
+ if (p)
+ p++; /* Point at first character of line. */
+ else
p = message_buffer.base;
+
return string_width (p, 0);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5435] improve appearance of help window,
Gavin D. Smith <=