From 3c32c4160d66db14e6dfb2b6cb69ca5014f68943 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 10 May 2015 18:03:42 +0200 Subject: [PATCH] formatting --- AppKit/CPTextView/CPTypesetter.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPTypesetter.j b/AppKit/CPTextView/CPTypesetter.j index f6bd1359e..bd11ed260 100644 --- a/AppKit/CPTextView/CPTypesetter.j +++ b/AppKit/CPTextView/CPTypesetter.j @@ -288,8 +288,8 @@ var CPSystemTypesetterFactory; if (!_currentFont) _currentFont = [_textStorage font] || [CPFont systemFontOfSize:12.0]; - ascent = ["x" sizeWithFont:_currentFont inWidth:NULL].height; //FIXME - descent = 0; //FIXME + ascent = ["x" sizeWithFont:_currentFont inWidth:NULL].height; //FIXME [_currentFont ascender] + descent = 0; //FIXME [_currentFont descender] leading = (ascent - descent) * 0.2; // FAKE leading }