Skip to content

Commit b48dff2

Browse files
committed
Add most of the folder mode documentation
1 parent 7e25ef1 commit b48dff2

1 file changed

Lines changed: 218 additions & 0 deletions

File tree

help/C/folder-mode.page

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<page xmlns="http://projectmallard.org/1.0/"
2+
type="topic"
3+
id="folder-mode">
4+
<info>
5+
<title type="sort">1</title>
6+
<link type="guide" xref="index#folder-mode"/>
7+
</info>
8+
9+
<title>Getting started comparing folders</title>
10+
11+
<p>
12+
<app>Meld</app> lets you compare two or three folders side-by-side. You can
13+
start a new folder comparison by selecting the
14+
<guiseq><gui style="menu">File</gui><gui style="menuitem">New...</gui></guiseq>
15+
menu item, and clicking on the <gui style="tab">Directory Comparison</gui>
16+
tab.
17+
</p>
18+
19+
<p>
20+
Your selected folders will be shown as side-by-side trees, with
21+
differences between files in each folder highlighted. You can copy
22+
or delete files from either folder, or compare individual text files
23+
in more detail.
24+
</p>
25+
26+
27+
28+
<section>
29+
<title><app>Meld</app>'s folder comparisons</title>
30+
31+
<p>
32+
The main parts of a folder comparison are the trees showing the folders
33+
you're comparing. You can easily <link xref="#folder-navigation">move
34+
around</link> these comparisons to find changes that you're interested
35+
in. When you select a file or folder, more detailed information is
36+
given in the status bar at the bottom of the window. Pressing
37+
<key>Enter</key> on a selected file, or double-clicking any file in the
38+
tree will open a side-by-side <link xref="file-mode">file
39+
comparison</link> of the files in a new tab, but this will only work
40+
properly if they're text files!
41+
</p>
42+
43+
<p>
44+
There are bars on the left and right-hand sides of the window that show
45+
you a simple coloured summary of the comparison results. Each file or
46+
folder in the comparison corresponds to a small section of these bars,
47+
though <app>Meld</app> doesn't show <em>Same</em> files so that it's
48+
easier to see any actually important differences. You can click anywhere
49+
on this bar to jump straight to that place in the comparison.
50+
</p>
51+
</section>
52+
53+
54+
55+
<section id="folder-navigation">
56+
<title>Navigating folder comparisons</title>
57+
58+
<p>
59+
You can move between changed files (that is, any files/folders that
60+
are <em>not</em> classified as being identical) with the
61+
<guiseq><gui style="menu">Changes</gui><gui style="menuitem">Previous change</gui></guiseq>
62+
and
63+
<guiseq><gui style="menu">Changes</gui><gui style="menuitem">Next change</gui></guiseq>
64+
menu items, or using the corresponding buttons on the toolbar.
65+
</p>
66+
<p>
67+
You can use the <key>Left</key> and <key>Right</key> arrow keys to move
68+
between the folders you're comparing. This is useful so that you can
69+
select an individual file for copying or deletion.
70+
</p>
71+
</section>
72+
73+
74+
75+
<section>
76+
<title>States in folder comparisons</title>
77+
78+
<p>
79+
Each file or folder in a tree has its own <em>state</em>, telling you
80+
how it differed from its corresponding files/folders. The possible
81+
states are:
82+
</p>
83+
84+
<comment>
85+
<cite date="2012-06-03" href="mailto:kai.willadsen@gmail.com">Kai</cite>
86+
<p>
87+
The following table would be much more effective if we could style
88+
entries in the Appearance column to show what they would actually
89+
look like.
90+
</p>
91+
<p>
92+
Ideally we would pull these colours and other details from the
93+
theme/gtkrc, but even an illustration of the default would help a lot.
94+
</p>
95+
</comment>
96+
97+
98+
<table frame="top bottom">
99+
<title>Folder comparison states</title>
100+
101+
<thead>
102+
<tr>
103+
<td><p>State</p></td>
104+
<td><p>Appearance</p></td>
105+
<td><p>Meaning</p></td>
106+
</tr>
107+
</thead>
108+
109+
<tbody>
110+
<tr>
111+
<td><p>Same</p></td>
112+
<td>
113+
<p>
114+
Normal font
115+
<!-- <file>file.txt</file>-->
116+
</p>
117+
</td>
118+
<td>
119+
<p>
120+
The file/folder is the same across all compared folders.
121+
</p>
122+
</td>
123+
</tr>
124+
<tr>
125+
<td><p>Same when filtered</p></td>
126+
<td>
127+
<p>
128+
Italics
129+
<!-- <file style="font-style: italic">file.txt</file>-->
130+
</p>
131+
</td>
132+
<td>
133+
<p>
134+
These files are different across folders, but once
135+
<link xref="text-filters">text filters</link> are applied, these
136+
files become identical.
137+
</p>
138+
</td>
139+
</tr>
140+
<tr>
141+
<td><p>Modified</p></td>
142+
<td>
143+
<p>
144+
Green and bold
145+
<!-- <file style="color: #008800; font-weight: bold">file.txt</file>-->
146+
</p>
147+
</td>
148+
<td>
149+
<p>
150+
</p>
151+
</td>
152+
</tr>
153+
<tr>
154+
<td><p>New</p></td>
155+
<td>
156+
<p>
157+
Red and bold
158+
<!-- <file style="color: #880000; font-weight: bold">file.txt</file>-->
159+
</p>
160+
</td>
161+
<td>
162+
<p>
163+
</p>
164+
</td>
165+
</tr>
166+
<tr>
167+
<td><p>Missing</p></td>
168+
<td>
169+
<p>
170+
Greyed out text with a line through the middle
171+
<!-- <file style="color: #888888; text-decoration: line-through;">file.txt</file>-->
172+
</p>
173+
</td>
174+
<td>
175+
<p>
176+
</p>
177+
</td>
178+
</tr>
179+
<tr>
180+
<td><p>Error</p></td>
181+
<td>
182+
<p>
183+
Bright red with a yellow background and bold
184+
<!-- <file style="color: #ff0000; background-color: yellow; font-weight: bold">file.txt</file>-->
185+
</p>
186+
</td>
187+
<td>
188+
<p>
189+
When comparing this file, an error occurred. The most common
190+
error causes are file permissions (i.e., <app>Meld</app> was not
191+
allowed to open the file) and filename encoding errors.
192+
</p>
193+
</td>
194+
</tr>
195+
</tbody>
196+
</table>
197+
198+
199+
<comment>
200+
<cite date="2012-06-04" href="mailto:kai.willadsen@gmail.com">Kai</cite>
201+
<p>
202+
The emblem attached is entirely theme-dependant...
203+
</p>
204+
</comment>
205+
206+
<p>
207+
You can filter out files based on these states, for example, to show only
208+
files that have are <em>Modified</em>. You can read more about this in
209+
<link xref="file-filters#file-state-filter"/>.
210+
</p>
211+
212+
<p>
213+
Finally, the most recently modified file/folder has an emblem
214+
attached to it.
215+
</p>
216+
</section>
217+
218+
</page>

0 commit comments

Comments
 (0)