diff options
author | Neil <nyamatongwe@gmail.com> | 2018-07-24 08:57:13 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-07-24 08:57:13 +1000 |
commit | bdfac6f2fd012ca71d0062d8c5390cc8dd06f81c (patch) | |
tree | 13525a6cc512d0ce638e4c230b423b2a06f0dd12 /src | |
parent | 8087517b6ee51a6b96db5b166d58362cf6b7f62f (diff) | |
download | scintilla-mirror-bdfac6f2fd012ca71d0062d8c5390cc8dd06f81c.tar.gz |
Fix reversion in revision 7063 which removed folding when changing code page.
Changing code page now causes full restyle.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index e53663f3e..3d5ae2d49 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -196,6 +196,7 @@ bool Document::SetDBCSCodePage(int dbcsCodePage_) { SetCaseFolder(nullptr); cb.SetLineEndTypes(lineEndBitSet & LineEndTypesSupported()); cb.SetUTF8Substance(SC_CP_UTF8 == dbcsCodePage); + ModifiedAt(0); // Need to restyle whole document return true; } else { return false; |