aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-09-04 11:10:06 +0000
committernyamatongwe <devnull@localhost>2002-09-04 11:10:06 +0000
commit7a764a5da22523306237b69e5007ceeba77e73aa (patch)
treeac290ea9456163eb7a836dcbc4f354e4b46a3349
parentc757e22da0d5feef0cbc54840aff4268b791feae (diff)
downloadscintilla-mirror-7a764a5da22523306237b69e5007ceeba77e73aa.tar.gz
When changing code pages invalidate to ensure all text remeasured.
-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: