diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-03-10 21:27:23 +1100 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-03-10 21:27:23 +1100 |
commit | 99106aa5c352bea70d777db1b6c9b4ed03474825 (patch) | |
tree | 86b4098055f7e492e59c79b02891ab2f3a902999 | |
parent | 6374ec2fc3bae1a4415eb1482c744c6653029e9b (diff) | |
download | scintilla-mirror-99106aa5c352bea70d777db1b6c9b4ed03474825.tar.gz |
Fix spelling in comments. Add missing comment.
-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 { |