void CMergeEditView::GetLineColors(int nLineIndex, COLORREF & crBkgnd,
COLORREF & crText, BOOL & bDrawWhitespace)
{
- // If no syntax hilighting
- if (!theApp.m_bHiliteSyntax)
- {
- crBkgnd = RGB(255, 255, 255);
- crText = RGB(0, 0, 0);
- bDrawWhitespace = FALSE;
- return;
- }
-
DWORD dwLineFlags = GetLineFlags(nLineIndex);
// Line inside diff
}
else
{
- // Line not inside diff, get colors from CrystalEditor
- CCrystalEditViewEx::GetLineColors(nLineIndex, crBkgnd,
- crText, bDrawWhitespace);
+ // If no syntax hilighting
+ if (!theApp.m_bHiliteSyntax)
+ {
+ crBkgnd = RGB(255, 255, 255);
+ crText = RGB(0, 0, 0);
+ bDrawWhitespace = FALSE;
+ }
+ else
+ // Line not inside diff, get colors from CrystalEditor
+ CCrystalEditViewEx::GetLineColors(nLineIndex, crBkgnd,
+ crText, bDrawWhitespace);
}
}
+2003-07-02 Kimmo
+ PATCH: [ 763817 ] Hilight diffs when syntax hilight is off
+ WinMerge: MergeEditView.cpp
+
2003-06-30 Perry
PATCH: [ 762835 ] Display line number etc beneath editor
WinMerge: ChildFrm.cpp ChildFrm.h DirFrame.cpp Merge.cpp Merge.dsp