[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6671] default rendition styles
From: |
Gavin D. Smith |
Subject: |
[6671] default rendition styles |
Date: |
Sat, 03 Oct 2015 12:10:34 +0000 |
Revision: 6671
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6671
Author: gavin
Date: 2015-10-03 12:10:15 +0000 (Sat, 03 Oct 2015)
Log Message:
-----------
default rendition styles
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/display.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-10-03 12:05:46 UTC (rev 6670)
+++ trunk/ChangeLog 2015-10-03 12:10:15 UTC (rev 6671)
@@ -1,5 +1,12 @@
2015-10-03 Gavin Smith <address@hidden>
+ * info/display.c (ref_rendition, hl_ref_rendition, match_rendition):
+ Use non-plain default renditions.
+ (display_update_node_text): Still highlight cross-references if
+ hl_ref_rendition is given but ref_rendition isn't.
+
+2015-10-03 Gavin Smith <address@hidden>
+
* doc/texinfo.texi (Defining Macros, Macro Details): Advice on
ending a macro body with '@c'.
Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c 2015-10-03 12:05:46 UTC (rev 6670)
+++ trunk/info/display.c 2015-10-03 12:10:15 UTC (rev 6671)
@@ -338,9 +338,9 @@
static int pl_num; /* Number of printed lines done so far. */
-RENDITION ref_rendition = {0, 0};
-RENDITION hl_ref_rendition = {0, 0};
-RENDITION match_rendition = {0, 0};
+RENDITION ref_rendition = {UNDERLINE_MASK, UNDERLINE_MASK};
+RENDITION hl_ref_rendition = {UNDERLINE_MASK, 0};
+RENDITION match_rendition = {STANDOUT_MASK, STANDOUT_MASK};
/* Process a line from the node in WIN starting at ITER, and advancing ITER
@@ -525,7 +525,7 @@
refs = 0;
if (match_rendition.mask)
matches = win->matches;
- if (ref_rendition.mask)
+ if (ref_rendition.mask || hl_ref_rendition.mask)
refs = win->node->references;
pl_num = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6671] default rendition styles,
Gavin D. Smith <=