diff options
author | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 |
commit | 02e0afd5a9d78f997df5e498550e5b2832ca5aa0 (patch) | |
tree | b5e3048d8416aefd2a461149fbb755f71fc49f39 /src/ViewStyle.cxx | |
parent | e149d7bf98c013bad08a5c7aeb0e652e83042ce2 (diff) | |
download | scintilla-mirror-02e0afd5a9d78f997df5e498550e5b2832ca5aa0.tar.gz |
Support for different character sets for each style.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 4 |
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, |