hmLoadTopic({
hmKeywords:"alignment control (in Text Merge)",
hmTitle:"Text Merge Alignment Settings",
hmDescription:"These settings control the algorithm for aligning lines in the comparison.",
hmPrevLink:"sessiontextmergeimportance.html",
hmNextLink:"sessiontable.html",
hmParentLink:"sessiontextmerge.html",
hmBreadCrumbs:"<a href=\"settings_reference.html\">Settings Reference<\/a> &gt; <a href=\"session_settings.html\">Session Settings<\/a> &gt; <a href=\"sessiontextmerge.html\">Text Merge<\/a>",
hmTitlePath:"Settings Reference > Session Settings > Text Merge > Alignment",
hmHeader:"<h1 class=\"p_Heading1\"><span class=\"f_Heading1\">Text Merge Alignment Settings<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_Normal\"><img style=\"margin:0;width:1.6875rem;height:0.7500rem;border:none\" src=\".\/images\/pro.png\"\/><\/p>\n\r<p class=\"p_Normal\">These settings control the algorithm for aligning lines in the comparison.<\/p>\n\r<p class=\"p_Normal\">Pick <span class=\"f_Command\">Unaligned<\/span> to compare files without aligning lines based on their content.<\/p>\n\r<p class=\"p_Normal\">Pick <span class=\"f_Command\">Standard alignment<\/span> to align the files by comparing successively smaller sections of each file.  Parts of the alignment can be shown before the entire comparison is finished.<\/p>\n\r<p class=\"p_Normal\">Pick <span class=\"f_Command\">Myers O(ND) alignment<\/span> to align the files using a common LCS (Longest Common Subsequence) algorithm.  This can give better matches in certain cases, such as large inserts or when the files contain a lot of repeating text.  Since files are compared all at once, larger file scans take much longer than the standard method, and the files are not displayed until the comparison is complete.  It does not support similarity comparisons, so mismatches will be grouped in blocks.<\/p>\n\r<p class=\"p_Normal\">Pick <span class=\"f_Command\">Patience Diff alignment<\/span> to align the files using Bram Cohen\'s algorithm.<\/p>\n\r<p class=\"p_Normal\">Mark the <span class=\"f_Command\">Never align differences<\/span> checkbox to show lines with important differences as blocks of added and deleted text rather than changed text.<\/p>\n\r<p class=\"p_Normal\">The <span class=\"f_Command\">Skew tolerance<\/span> specifies the maximum number of lines that the algorithm will check when looking for a match to a particular line.  Increasing it can improve the alignment, especially if there are large gaps.  Of course, the comparison may also require more time.<\/p>\n\r<p class=\"p_Normal\">Mark the <span class=\"f_Command\">Use closeness matching<\/span> checkbox to attempt to align the remaining mismatched lines based on their similarity.<\/p>\n\r<p class=\"p_Normal\"><img style=\"margin:0;width:1.0000rem;height:1.0000rem;border:none\" src=\".\/images\/note.png\"\/> <span class=\"f_NotePrompt\">Note<\/span>  Regardless of these settings, the alignment algorithm will sometimes produce undesirable results.  To manually align two lines, right-click one line and pick <span class=\"f_Command\">Align With<\/span> and then click the second line.<\/p>\n\r<p class=\"p_Normal\"><span class=\"f_Subtitle\">A merge conflict is<\/span><\/p>\n\r<p class=\"p_Normal\">These settings define the scope of conflicts.  A conflict occurs when the same section of text has changes on both left and right sides.<\/p>\n\r<p class=\"p_Normal\">Pick <span class=\"f_Command\">Only different change lines<\/span> to limit conflicts to where each line has changes on both sides.  Pick <span class=\"f_Command\">Left change and right change separated by lines<\/span> to specify the maximum number of lines between changes that should be considered conflicts.  This way, left and right changes that are close to each other can be flagged for review along with direct conflicts.<\/p>\n\r"
})
