aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
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();