aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-03-10 21:27:23 +1100
committernyamatongwe <nyamatongwe@gmail.com>2013-03-10 21:27:23 +1100
commit99106aa5c352bea70d777db1b6c9b4ed03474825 (patch)
tree86b4098055f7e492e59c79b02891ab2f3a902999 /cocoa/ScintillaCocoa.mm
parent6374ec2fc3bae1a4415eb1482c744c6653029e9b (diff)
downloadscintilla-mirror-99106aa5c352bea70d777db1b6c9b4ed03474825.tar.gz
Fix spelling in comments. Add missing comment.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 42d9c8adf..fe12690a4 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1508,7 +1508,7 @@ void ScintillaCocoa::ScrollText(int linesToMove)
//--------------------------------------------------------------------------------------------------
/**
- * Modfies the vertical scroll position to make the current top line show up as such.
+ * Modifies the vertical scroll position to make the current top line show up as such.
*/
void ScintillaCocoa::SetVerticalScrollPos()
{
@@ -1523,6 +1523,9 @@ void ScintillaCocoa::SetVerticalScrollPos()
//--------------------------------------------------------------------------------------------------
+/**
+ * Modifies the horizontal scroll position to match xOffset.
+ */
void ScintillaCocoa::SetHorizontalScrollPos()
{
ScintillaView* topContainer = TopContainer();