From e4c54e6bb956fa53a86b9b2750f73736dd79fa47 Mon Sep 17 00:00:00 2001 From: "Lukhnos D. Liu" Date: Thu, 29 Mar 2012 21:07:45 -0700 Subject: [PATCH] Edit comment. --- Source/CandidateUI/VTVerticalCandidateController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CandidateUI/VTVerticalCandidateController.m b/Source/CandidateUI/VTVerticalCandidateController.m index 540f8dd3..b49472f8 100644 --- a/Source/CandidateUI/VTVerticalCandidateController.m +++ b/Source/CandidateUI/VTVerticalCandidateController.m @@ -207,7 +207,7 @@ static const CGFloat kCandidateTextLeftMargin = 8.0; NSAttributedString *attrString = [[[NSAttributedString alloc] initWithString:candidate attributes:[NSDictionary dictionaryWithObjectsAndKeys:_candidateFont, NSFontAttributeName, _candidateTextParagraphStyle, NSParagraphStyleAttributeName, nil]] autorelease]; - // we do more work than what this method is expected; normally not a good practice, but for the amount of data (9 to 10 rows max), we can afford the overhead + // we do more work than what this method is expected to; normally not a good practice, but for the amount of data (9 to 10 rows max), we can afford the overhead // expand the window width if text overflows NSRect boundingRect = [attrString boundingRectWithSize:NSMakeSize(10240.0, 10240.0) options:NSStringDrawingUsesLineFragmentOrigin];