aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 3ceb647fb..f2ba9f088 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5108,6 +5108,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_SETCODEPAGE:
pdoc->dbcsCodePage = wParam;
+ InvalidateStyleRedraw();
break;
case SCI_GETCODEPAGE: