diff options
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 | ||||
-rw-r--r-- | cocoa/ScintillaView.mm | 6 |
2 files changed, 7 insertions, 4 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(); diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 4fde8c8f9..6d43f776c 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -634,7 +634,7 @@ NSString *SCIUpdateUINotification = @"SCIUpdateUI"; @synthesize delegate = mDelegate; /** - * ScintiallView is a composite control made from an NSView and an embedded NSView that is + * ScintillaView is a composite control made from an NSView and an embedded NSView that is * used as canvas for the output (by the backend, using its CGContext), plus other elements * (scrollers, info bar). */ @@ -1066,7 +1066,7 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa /** * Used to set the position of the vertical scroll thumb. * - * @param position The relative position in the rang [0..1]; + * @param position The relative position in the range [0..1]; */ - (void) setVerticalScrollPosition: (float) position { @@ -1116,7 +1116,7 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa /** * Used to set the position of the vertical scroll thumb. * - * @param position The relative position in the rang [0..1]; + * @param position The relative position in the range [0..1]; */ - (void) setHorizontalScrollPosition: (float) position { |