From 29c4424ab987df40a8a3df93165f84561dee1a43 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 14:43:10 -0500 Subject: [PATCH] Fix typos. --- src/Editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor.cpp b/src/Editor.cpp index 055f5dc..9ac8c1b 100755 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -1268,7 +1268,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) { yMarginT = yMarginB = 0; } else { // yMarginT must equal to caretYSlop, with a minimum of 1 and - // a maximum of slightly less than half the heigth of the text area. + // a maximum of slightly less than half the height of the text area. yMarginT = Platform::Clamp(caretYSlop, 1, halfScreen); if (bEven) { yMarginB = yMarginT;