Permalink
Browse files

Temporary fix for issue #77: force InvalidateStyleRedraw().

  • Loading branch information...
zufuliu committed Oct 14, 2018
1 parent 4868ac9 commit 40722abdebc824390f25493485725b4e910c5de4
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Notepad2.c
@@ -4027,6 +4027,8 @@ LRESULT MsgCommand(HWND hwnd, WPARAM wParam, LPARAM lParam) {
case IDM_VIEW_UNICODE_CONTROL_CHAR:
bShowUnicodeControlCharacter = !bShowUnicodeControlCharacter;
EditShowUnicodeControlCharacter(hwndEdit, bShowUnicodeControlCharacter);
// temporary fix for issue #77: force InvalidateStyleRedraw().
SendMessage(hwndEdit, SCI_SETVIEWEOL, bViewEOLs, 0);
break;
#if NP2_ENABLE_SHOW_CALL_TIPS

0 comments on commit 40722ab

Please sign in to comment.