aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-05-15 14:19:52 +0000
committernyamatongwe <devnull@localhost>2000-05-15 14:19:52 +0000
commite77cc3907af16f9393f745423e39540436d85444 (patch)
treeb5e3048d8416aefd2a461149fbb755f71fc49f39 /src/ViewStyle.cxx
parentbfd29c74a006b38b3c722145a94e4af05ebe9603 (diff)
downloadscintilla-mirror-e77cc3907af16f9393f745423e39540436d85444.tar.gz
Support for different character sets for each style.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 5fac88cea..580ecc71f 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -201,7 +201,8 @@ void ViewStyle::Refresh(Surface &surface) {
void ViewStyle::ResetDefaultStyle() {
styles[STYLE_DEFAULT].Clear(Colour(0,0,0), Colour(0xff,0xff,0xff),
- Platform::DefaultFontSize(), fontNames.Save(Platform::DefaultFont()),
+ Platform::DefaultFontSize(), fontNames.Save(Platform::DefaultFont()),
+ SC_CHARSET_DEFAULT,
false, false, false, false);
}
@@ -214,6 +215,7 @@ void ViewStyle::ClearStyles() {
styles[STYLE_DEFAULT].back.desired,
styles[STYLE_DEFAULT].size,
styles[STYLE_DEFAULT].fontName,
+ styles[STYLE_DEFAULT].characterSet,
styles[STYLE_DEFAULT].bold,
styles[STYLE_DEFAULT].italic,
styles[STYLE_DEFAULT].eolFilled,