Skip to content

Commit

Permalink
Add lines in diff engine to effect ignoreWhitespace and ignoreCase
Browse files Browse the repository at this point in the history
  • Loading branch information
chelh committed Apr 26, 2017
1 parent b77f26c commit 1f7dca1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/VBASync/Model/DiffPlex_ModVba.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ private static void BuildPieceHashes(IDictionary<string, int> pieceHash, Modific
for (var i = 0; i < pieces.Length; i++)
{
var piece = UppercaseVbaSymbols(pieces[i], ref startInComment);
if (ignoreWhitespace) piece = piece.Trim();
if (ignoreCase) piece = piece.ToUpperInvariant();

if (pieceHash.ContainsKey(piece))
{
Expand Down

0 comments on commit 1f7dca1

Please sign in to comment.