aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-03-14 03:31:53 +0000
committernyamatongwe <unknown>2010-03-14 03:31:53 +0000
commitc689e3706bad0797f542ace0292d81bc62ce1f83 (patch)
tree60d885b5bd010738ca86f0357907ff595a263829 /src/Style.cxx
parentabbacd88fd6cbf6b093d5f2e6335f1f5aa4a57f3 (diff)
downloadscintilla-mirror-c689e3706bad0797f542ace0292d81bc62ce1f83.tar.gz
More members initialised in constructor even though they will be filled in
later by Realise.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Style.cxx b/src/Style.cxx
index 4314dec0a..392fd1c9a 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -92,6 +92,13 @@ void Style::Clear(ColourDesired fore_, ColourDesired back_, int size_,
else
font.Release();
aliasOfDefaultFont = false;
+ sizeZoomed = 2;
+ lineHeight = 2;
+ ascent = 1;
+ descent = 1;
+ externalLeading = 0;
+ aveCharWidth = 1;
+ spaceWidth = 1;
}
void Style::ClearTo(const Style &source) {