[meld] Fix example comparison listing in text filter docs
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix example comparison listing in text filter docs
- Date: Sun, 17 Jun 2012 00:26:58 +0000 (UTC)
commit 7e25ef1e2df6403595baf6a5b75af329c9a7518f
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Jun 3 11:28:25 2012 +1000
Fix example comparison listing in text filter docs
help/C/filtering-text.page | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/help/C/filtering-text.page b/help/C/filtering-text.page
index 525d8f1..419320c 100644
--- a/help/C/filtering-text.page
+++ b/help/C/filtering-text.page
@@ -64,28 +64,34 @@ It's easy to get text filtering wrong, and Meld's support for filtering isn't
complete. In particular, a text filter can't change the number of lines in a
file. For example, if we had the built-in <gui>Script comment</gui> filter
enabled, and compared the following files:
+</p>
<table>
<tbody>
<tr>
<td>
- <code>
+ <listing>
+ <title><file>comment1.txt</file></title>
+ <code><![CDATA[
a
b#comment
c
-d
- </code>
+d]]></code>
+ </listing>
</td>
<td>
- <code>
+ <listing>
+ <title><file>comment2.txt</file></title>
+ <code><![CDATA[
a
b
c
-#comment
- </code>
+#comment]]></code>
+ </listing>
</td>
</tr>
</tbody>
</table>
+<p>
then the lines starting with <code>b</code> would be shown as identical (the
comment is stripped out) but the <code>d</code> line would be shown as
different to the comment line on the right. This happens because the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]