aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-05-15 14:19:52 +0000
committernyamatongwe <unknown>2000-05-15 14:19:52 +0000
commit02e0afd5a9d78f997df5e498550e5b2832ca5aa0 (patch)
treeb5e3048d8416aefd2a461149fbb755f71fc49f39 /src/CallTip.cxx
parente149d7bf98c013bad08a5c7aeb0e652e83042ce2 (diff)
downloadscintilla-mirror-02e0afd5a9d78f997df5e498550e5b2832ca5aa0.tar.gz
Support for different character sets for each style.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index ad6740208..d22a96364 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -8,6 +8,7 @@
#include "Platform.h"
+#include "Scintilla.h"
#include "CallTip.h"
CallTip::CallTip() {
@@ -117,7 +118,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn,
Surface surfaceMeasure;
surfaceMeasure.Init();
int deviceHeight = (size * surfaceMeasure.LogPixelsY()) / 72;
- font.Create(faceName, deviceHeight);
+ font.Create(faceName, SC_CHARSET_DEFAULT, deviceHeight, false, false);
if (val)
delete []val;
val = new char[strlen(defn) + 1];