[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7332] fix index entry line number when preprocessing nodes
From: |
gavinsmith0123 |
Subject: |
[7332] fix index entry line number when preprocessing nodes |
Date: |
Sat, 3 Sep 2016 16:20:45 +0000 (UTC) |
Revision: 7332
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7332
Author: gavin
Date: 2016-09-03 16:20:45 +0000 (Sat, 03 Sep 2016)
Log Message:
-----------
fix index entry line number when preprocessing nodes
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/info-utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-09-03 14:57:53 UTC (rev 7331)
+++ trunk/ChangeLog 2016-09-03 16:20:45 UTC (rev 7332)
@@ -1,5 +1,12 @@
2016-09-03 Gavin Smith <address@hidden>
+ * info/info-utils.c (scan_reference_target): Remove code that
+ altered the line number of an index entry if
+ preprocess_nodes_p=1, because this is is independent of whether
+ the first line of the node is displayed or not.
+
+2016-09-03 Gavin Smith <address@hidden>
+
* po/el.po: Commit file.
* po/LINGUAS: List el.
Modified: trunk/info/info-utils.c
===================================================================
--- trunk/info/info-utils.c 2016-09-03 14:57:53 UTC (rev 7331)
+++ trunk/info/info-utils.c 2016-09-03 16:20:45 UTC (rev 7332)
@@ -1495,14 +1495,6 @@
else
entry->line_number = 0;
}
-
- if (preprocess_nodes_p && entry->line_number > 1)
- /* Adjust line offset in file to one in displayed text. This
- does not work perfectly because we can't know exactly what
- text will be inserted/removed: for example, due to expansion
- of an image tag. This subtracts 1 for a removed node information
- line. */
- entry->line_number--;
}
return 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7332] fix index entry line number when preprocessing nodes,
gavinsmith0123 <=