Skip to content

Commit

Permalink
Improve line filters and substitution filters (#2032) (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Oct 1, 2023
1 parent 3e038d7 commit 459c3f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/DiffWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ static std::tuple<std::string, unsigned, std::vector<bool>> GetCommentsFilteredT
}
else
{
allTextIsComment[i - startLine] = true;
allTextIsComment[i - startLine] =
(nActualItems > 0 && blocks[0].m_nColorIndex == COLORINDEX_COMMENT);
for (int j = 0; j < nActualItems; ++j)
{
CrystalLineParser::TEXTBLOCK& block = blocks[j];
Expand Down

0 comments on commit 459c3f1

Please sign in to comment.