summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 14:43:10 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 14:43:10 -0500
commit29c4424ab987df40a8a3df93165f84561dee1a43 (patch)
treea63c426b43e61168a54da6b0a4256a5b77b3b56b
parent4b1175e198c1b9f87c1a815a9b4b961f131358c7 (diff)
downloadtqscintilla-29c4424ab987df40a8a3df93165f84561dee1a43.tar.gz
tqscintilla-29c4424ab987df40a8a3df93165f84561dee1a43.zip
Fix typos.
-rwxr-xr-xsrc/Editor.cpp2
1 files changed, 1 insertions, 1 deletions
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;