diff --git a/AppKit/CPBox.j b/AppKit/CPBox.j index 026923e00..f9994b5e7 100644 --- a/AppKit/CPBox.j +++ b/AppKit/CPBox.j @@ -235,8 +235,8 @@ CPGrooveBorder = 3; switch (_boxType) { case CPBoxSeparator: - // NSBox does not include a horizontal flag for the seperator type. We have to determine - // the type of seperator to draw by the width and height of the frame. + // NSBox does not include a horizontal flag for the separator type. We have to determine + // the type of separator to draw by the width and height of the frame. if (CGRectGetWidth(bounds) === 5.0) return [self _drawVerticalSeperatorInRect:bounds]; else if (CGRectGetHeight(bounds) === 5.0) diff --git a/AppKit/CPControl.j b/AppKit/CPControl.j index 9797f5f7f..ba7768eb0 100644 --- a/AppKit/CPControl.j +++ b/AppKit/CPControl.j @@ -171,7 +171,8 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's target action + Sets the receiver's target action. + @param anAction Sets the action message that gets sent to the target. */ - (void)setAction:(SEL)anAction @@ -180,7 +181,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's target action + Returns the receiver's target action. */ - (SEL)action { @@ -189,6 +190,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Sets the receiver's target. The target receives action messages from the receiver. + @param aTarget the object that will receive the message specified by action */ - (void)setTarget:(id)aTarget @@ -206,6 +208,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Causes \c anAction to be sent to \c anObject. + @param anAction the action to send @param anObject the object to which the action will be sent */ @@ -226,6 +229,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Sets the tooltip for the receiver. + @param aToolTip the tooltip */ /* @@ -262,7 +266,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Sets whether the cell can continuously send its action messages. - */ +*/ - (void)setContinuous:(BOOL)flag { // Some subclasses should redefine this with CPLeftMouseDraggedMask @@ -339,6 +343,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Perform a click on the receiver. + @param sender - The sender object */ - (void)performClick:(id)sender @@ -425,7 +430,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's object value + Returns the receiver's object value. */ - (id)objectValue { @@ -433,7 +438,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's object value + Sets the receiver's object value. */ - (void)setObjectValue:(id)anObject { @@ -444,7 +449,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's float value + Returns the receiver's float value. */ - (float)floatValue { @@ -453,7 +458,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's float value + Sets the receiver's float value. */ - (void)setFloatValue:(float)aValue { @@ -461,7 +466,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's double value + Returns the receiver's double value. */ - (double)doubleValue { @@ -470,7 +475,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's double value + Sets the receiver's double value. */ - (void)setDoubleValue:(double)anObject { @@ -478,7 +483,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's int value + Returns the receiver's int value. */ - (int)intValue { @@ -487,7 +492,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's int value + Sets the receiver's int value. */ - (void)setIntValue:(int)anObject { @@ -495,7 +500,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's int value + Returns the receiver's int value. */ - (int)integerValue { @@ -504,7 +509,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's int value + Sets the receiver's int value. */ - (void)setIntegerValue:(int)anObject { @@ -512,7 +517,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Returns the receiver's string value + Returns the receiver's string value. */ - (CPString)stringValue { @@ -520,7 +525,7 @@ var CPControlBlackColor = [CPColor blackColor]; } /*! - Sets the receiver's string value + Sets the receiver's string value. */ - (void)setStringValue:(CPString)anObject { @@ -598,6 +603,7 @@ var CPControlBlackColor = [CPColor blackColor]; /*! Sets the text alignment of the control. +
     CPLeftTextAlignment
     CPCenterTextAlignment
@@ -621,6 +627,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Set the vertical text alignment of the control.
+
     
     CPTopVerticalTextAlignment
     CPCenterVerticalTextAlignment
@@ -642,6 +649,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the line break mode of the receiver.
+
     
     CPLineBreakByWordWrapping
     CPLineBreakByCharWrapping
@@ -666,6 +674,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the text color of the receiver.
+
     @param aColor - A CPColor object.
 */
 - (void)setTextColor:(CPColor)aColor
@@ -699,6 +708,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the shadow offset for the text.
+
     @param offset - a CGSize with the x and y offsets.
 */
 - (void)setTextShadowOffset:(CGSize)offset
@@ -732,6 +742,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the image position of the control.
+
     
     CPNoImage
     CPImageOnly
@@ -757,6 +768,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the image scaling of the control.
+
     
     CPScaleProportionally
     CPScaleToFit
@@ -778,7 +790,8 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Sets the enabled status of the control.
-    Controls that are not enabled can not be used by the user and are sent the CPThemeStateDisabled theme state.
+    Controls that are not enabled can not be used by the user and obtain the CPThemeStateDisabled theme state.
+
     @param BOOL - YES if the control should be enabled, otherwise NO.
 */
 - (void)setEnabled:(BOOL)isEnabled
@@ -799,6 +812,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Highlights the receiver.
+
     @param BOOL - YES if the receiver should be highlighted, otherwise NO.
 */
 - (void)highlight:(BOOL)shouldHighlight
@@ -808,6 +822,7 @@ var CPControlBlackColor     = [CPColor blackColor];
 
 /*!
     Highlights the receiver.
+
     @param BOOL - YES if the receiver should be highlighted, otherwise NO.
 */
 - (void)setHighlighted:(BOOL)isHighlighted
@@ -844,6 +859,7 @@ var __Deprecated__CPImageViewImageKey   = @"CPImageViewImageKey";
 
 /*
     Initializes the control by unarchiving it from a coder.
+
     @param aCoder the coder from which to unarchive the control
     @return the initialized control
 */
@@ -867,6 +883,7 @@ var __Deprecated__CPImageViewImageKey   = @"CPImageViewImageKey";
 
 /*
     Archives the control to the provided coder.
+
     @param aCoder the coder to which the control will be archived.
 */
 - (void)encodeWithCoder:(CPCoder)aCoder
diff --git a/AppKit/CPEvent.j b/AppKit/CPEvent.j
index 1b8e5fb97..4c1584be7 100644
--- a/AppKit/CPEvent.j
+++ b/AppKit/CPEvent.j
@@ -211,6 +211,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 
 /*!
     Creates a new keyboard event.
+
     @param anEventType the event type. Must be one of CPKeyDown, CPKeyUp or CPFlagsChanged
     @param aPoint the location of the cursor in the window specified by \c aWindowNumber
     @param modifierFlags a bitwise combination of the modifiers specified in the CPEvent globals
@@ -235,7 +236,8 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Creates a new mouse event
+    Creates a new mouse event.
+
     @param anEventType the event type
     @param aPoint the location of the cursor in the window specified by \c aWindowNumber
     @param modifierFlags a bitwise combination of the modifiers specified in the CPEvent globals
@@ -257,7 +259,8 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Creates a new custom event
+    Creates a new custom event.
+
     @param anEventType the event type. Must be one of CPAppKitDefined, CPSystemDefined, CPApplicationDefined or CPPeriodic
     @param aLocation the location of the cursor in the window specified by \c aWindowNumber
     @param modifierFlags a bitwise combination of the modifiers specified in the CPEvent globals
@@ -349,10 +352,10 @@ var _CPEventPeriodicEventPeriod         = 0,
 
 /*!
     Returns the location of the mouse (for mouse events).
-    If this is not a mouse event, it returns \c nil.
-    If \c window returns \c nil, then
-    the mouse coordinates will be based on the screen coordinates.
+    If the receiver is not a mouse event, it returns \c nil.
+    If \c window returns \c nil, then the mouse coordinates will be based on the screen coordinates.
     Otherwise, the coordinates are relative to the window's coordinates.
+
     @return the location of the mouse, or \c nil for non-mouse events.
 */
 - (CGPoint)locationInWindow
@@ -372,7 +375,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Returns event information as a bit mask
+    Returns event information as a bit mask.
 */
 - (unsigned)modifierFlags
 {
@@ -380,7 +383,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Returns the time the event occurred
+    Returns the time the event occurred.
 */
 - (CPTimeInterval)timestamp
 {
@@ -396,7 +399,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Returns the event's associated window
+    Returns the event's associated window.
 */
 - (CPWindow)window
 {
@@ -427,7 +430,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Returns the number of clicks that caused this event. (mouse only)
+    Returns the number of clicks that caused this event (mouse only).
 */
 - (int)clickCount
 {
@@ -435,7 +438,8 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Returns the characters associated with this event (keyboard only)
+    Returns the characters associated with this event (keyboard only).
+
     @throws CPInternalInconsistencyException if this method is called on a non-key event
 */
 - (CPString)characters
@@ -445,6 +449,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 
 /*!
     Returns the character ignoring any modifiers (except shift).
+
     @throws CPInternalInconsistencyException if this method is called on a non-key event
 */
 - (CPString)charactersIgnoringModifiers
@@ -454,6 +459,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 
 /*!
     Returns \c YES if the keyboard event was caused by the key being held down.
+
     @throws CPInternalInconsistencyException if this method is called on a non-key event
 */
 - (BOOL)isARepeat
@@ -463,6 +469,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 
 /*!
     Returns the key's key code.
+
     @throws CPInternalInconsistencyException if this method is called on a non-key event
 */
 - (unsigned short)keyCode
@@ -586,7 +593,8 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Gene                            rates periodic events every \c aPeriod seconds.
+    Generates periodic events every \c aPeriod seconds.
+
     @param aDelay the number of seconds before the first event
     @param aPeriod the length of time in seconds between successive events
 */
@@ -599,7 +607,7 @@ var _CPEventPeriodicEventPeriod         = 0,
 }
 
 /*!
-    Stops the periodic events from being generated
+    Stops the periodic events from being generated.
 */
 + (void)stopPeriodicEvents
 {
diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j
index 35c91f9be..e43697ba8 100644
--- a/AppKit/CPOutlineView.j
+++ b/AppKit/CPOutlineView.j
@@ -83,12 +83,16 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
     @ingroup appkit
     @class CPOutlineView
 
-    CPOutlineView is a subclass of CPTableView that inherits the row and column format to display hierarchal data.
-    The outlineview adds the ability to expand and collapse items. This is useful for browsing a tree like structure such as directories or a filesystem.
+    CPOutlineView is a subclass of CPTableView that inherits the row and
+    column format to display hierarchical data. The outlineview adds the
+    ability to expand and collapse items. This is useful for browsing a tree
+    like structure such as directories or a filesystem.
 
-    Like the tableview, an outlineview uses a data source to supply its data. For this reason you must implement a couple data source methods (documented in setDataSource:)
+    Like the tableview, an outlineview uses a data source to supply its data.
+    For this reason you must implement a couple data source methods
+    (documented in setDataSource:).
 
-    Theme states for custom data views are documented in CPTableView
+    Theme states for custom data views are documented in CPTableView.
 */
 @implementation CPOutlineView : CPTableView
 {
@@ -157,8 +161,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 /*!
 
-    In addition to standard delegation, the outline view also supports data source delegation. This method sets the data source object.
-    Just like the TableView you have CPTableColumns but instead of rows you deal with items.
+    In addition to standard delegation, the outline view also supports data
+    source delegation. This method sets the data source object. Just like the
+    TableView you have CPTableColumns but instead of rows you deal with items.
 
     You must implement these data source methods:
 
@@ -187,7 +192,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
         The outlineview will call this method if you click the table header. You should sort the datasource based off of the new sort descriptors and reload the data
 
     Drag and Drop:
-    In order for the outlineview to receive drops don't forget to first register the tableview for drag types like you do with every other view
+    In order for the outlineview to receive drops don't forget to first
+    register the tableview for drag types like you do with every other view
 
     - (BOOL)outlineView:(CPOutlineView)outlineView acceptDrop:(id < CPDraggingInfo >)info item:(id)item childIndex:(CPInteger)index;
         Return YES if the operation was successful otherwise return NO.
@@ -259,6 +265,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 
 /*!
     Returns the datasource object.
+
     @return id - The data source object
 */
 - (id)dataSource
@@ -287,7 +294,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-   Used to find if an item is already expanded.
+    Used to find if an item is already expanded.
 
     @param anItem - the item you are interest in.
 
@@ -307,7 +314,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Expends a given item.
+    Expands a given item.
 
     @param anItem - the item to expand.
 */
@@ -335,8 +342,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
         return;
 
     // When shouldExpandChildren is YES, we need to make sure we're collecting
-    // selection notifications so that exactly one IsChanging and one DidChange
-    // is sent as needed, for the totality of the operation.
+    // selection notifications so that exactly one IsChanging and one
+    // DidChange is sent as needed, for the totality of the operation.
     var isTopLevel = NO;
     if (!_coalesceSelectionNotificationState)
     {
@@ -344,7 +351,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
         _coalesceSelectionNotificationState = CPOutlineViewCoalesceSelectionNotificationStateOn;
     }
 
-    // to prevent items which are already expanded from firing notifications
+    // To prevent items which are already expanded from firing notifications.
     if (!itemInfo.isExpanded)
     {
         [self _noteItemWillExpand:anItem];
@@ -514,8 +521,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Sets the table column you want to display the disclosure button in.
-    If you do not want an outline column pass nil.
+    Sets the table column you want to display the disclosure button in. If you
+    do not want an outline column pass nil.
+
     @param aTableColumn - The CPTableColumn you want to use for hierarchical data.
 */
 - (void)setOutlineTableColumn:(CPTableColumn)aTableColumn
@@ -540,7 +548,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Returns the indentation level of a given item. If the item is nil (the top level root item) CPNotFound is returned. Indentation levels are zero based, thus items that are not indented return 0.
+    Returns the indentation level of a given item. If the item is nil (the top
+    level root item) CPNotFound is returned. Indentation levels are zero
+    based, thus items that are not indented return 0.
 
     @param anItem - The item you want the indentation level for.
     @return int - the indentation level of anItem.
@@ -559,7 +569,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Returns the indentation level for a given row. If the row is invalid CPNotFound is returned. Rows that are not indented return 0.
+    Returns the indentation level for a given row. If the row is invalid
+    CPNotFound is returned. Rows that are not indented return 0.
 
     @param aRow - the row of the receiver
     @return int - the indentation level of aRow.
@@ -596,7 +607,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Sets the layout behavior of disclosure button. If you pass NO the disclosure button will always align itself to the left of the outline column.
+    Sets the layout behavior of disclosure button. If you pass NO the
+    disclosure button will always align itself to the left of the outline
+    column.
 
     @param indentationMarkerShouldFollowDataView - Pass YES if the disclosure control should be indented along with the dataview, otherwise NO.
 */
@@ -614,7 +627,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 /*!
     Returns the layout behavior of the disclosure buttons.
 
-    @return BOOL - YES if the disclosure control indents itself with the dataview, otherwise NO if the control is always aligned to the left of the outline column
+    @return BOOL - YES if the disclosure control indents itself with the
+        dataview, otherwise NO if the control is always aligned to the left of
+        the outline column
 */
 - (BOOL)indentationMarkerFollowsDataView
 {
@@ -625,7 +640,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
     Returns the parent item for a given item. If the item is a top level root object nil is returned.
 
     @param anItem - The item of the receiver.
-    @return id - The parent item of anItem. If no parent exists (the item is a root item) nil is returned.
+    @return id - The parent item of anItem. If no parent exists (the item is a
+        root item) nil is returned.
 */
 - (id)parentForItem:(id)anItem
 {
@@ -649,7 +665,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 /*!
     @ignore
 
-    Returns the frame of the dataview at the row given for the outline column
+    Returns the frame of the dataview at the row given for the outline column.
 */
 - (CGRect)_frameOfOutlineDataViewAtRow:(CPInteger)aRow
 {
@@ -664,9 +680,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Returns the frame of the disclosure button for the outline column.
-    If the item is not expandable a CGZeroRect is returned.
-    Subclasses can return a CGZeroRect to prevent the disclosure control from being displayed.
+    Returns the frame of the disclosure button for the outline column. If the
+    item is not expandable a CGZeroRect is returned. Subclasses can return a
+    CGZeroRect to prevent the disclosure control from being displayed.
 
     @param aRow - The row of the receiver
     @return CGRect - The rect of the disclosure button at aRow.
@@ -684,7 +700,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 
 /*!
     @ignore
-    Select or deselect rows, this is overridden because we need to change the color or the outline control
+    Select or deselect rows, this is overridden because we need to change the color or the outline control.
 */
 - (void)_performSelection:(BOOL)select forRow:(CPInteger)rowIndex context:(id)context
 {
@@ -937,8 +953,9 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Sets the prototype of the disclosure control. This is used if you want to set a special type of button, instead of the default triangle.
-    The control must implement CPCoding.
+    Sets the prototype of the disclosure control. This is used if you want to
+    set a special type of button, instead of the default triangle. The control
+    must implement CPCoding.
 
     @param aControl - the control to be used to expand and collapse items.
 */
@@ -961,9 +978,13 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 
 /*!
-    Adds a new table column to the receiver. If this is the first column added it will automatically be set to the outline column.
-    Also see -setOutlineTableColumn:
+    Adds a new table column to the receiver. If this is the first column added
+    it will automatically be set to the outline column.
+
+    Also see -setOutlineTableColumn:.
+
     NOTE: This behavior deviates from cocoa slightly.
+
     @param CPTableColumn aTableColumn - The table column to add.
 */
 - (void)addTableColumn:(CPTableColumn)aTableColumn
@@ -985,7 +1006,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 }
 /*!
     @ignore
-    We override this because we need a special behavior for the outline column
+    We override this because we need a special behavior for the outline
+    column.
 */
 - (CGRect)frameOfDataViewAtColumn:(CPInteger)aColumn row:(CPInteger)aRow
 {
@@ -999,7 +1021,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 
 /*!
     @ignore
-    we need to offset the dataview and add the disclosure triangle
+    We need to offset the dataview and add the disclosure triangle.
 */
 - (CPView)_dragViewForColumn:(int)theColumnIndex event:(CPEvent)theDragEvent offset:(CPPointPointer)theDragViewOffset
 {
@@ -1059,9 +1081,15 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 
 /*!
     Retargets the drop item for the outlineview.
-    To specify a drop on theItem, you specify item as theItem and index as CPOutlineViewDropOnItemIndex.
-    To specify a drop between child 1 and 2 of theItem, you specify item as theItem and index as 2.
-    To specify a drop on an item that can't be expanded theItem, you specify item as someOutlineItem and index as CPOutlineViewDropOnItemIndex.
+
+    To specify a drop on theItem, you specify item as theItem and index as
+    CPOutlineViewDropOnItemIndex.
+
+    To specify a drop between child 1 and 2 of theItem, you specify item as
+    theItem and index as 2.
+
+    To specify a drop on an item that can't be expanded theItem, you specify
+    item as someOutlineItem and index as CPOutlineViewDropOnItemIndex.
 
     @param theItem - The item you want to retarget the drop on.
     @param theIndex - The index of the child item you want to retarget the drop between. Pass CPOutlineViewDropOnItemIndex if you want to drop on theItem.
@@ -1171,7 +1199,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff  = 0,
 
 /*!
     @ignore
-    We need to move the disclosure control too
+    We need to move the disclosure control too.
 */
 - (void)_layoutDataViewsInRows:(CPIndexSet)rows columns:(CPIndexSet)columns
 {
diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j
index c48cceab0..4a819f7cd 100644
--- a/AppKit/CPSplitView.j
+++ b/AppKit/CPSplitView.j
@@ -114,7 +114,7 @@ var CPSplitViewHorizontalImage = nil,
 }
 
 /*!
-    Returns YES if the divers are vertical, otherwise NO.
+    Returns YES if the dividers are vertical, otherwise NO.
     @return YES if vertical, otherwise NO.
 */
 - (BOOL)isVertical
@@ -168,8 +168,9 @@ var CPSplitViewHorizontalImage = nil,
 }
 
 /*!
-    Use to find if the diver is a larger pane splitter.
-    @return BOOL - YES if the divers are the larger pane splitters. Otherwise NO.
+    Use to find if the divider is a larger pane splitter.
+
+    @return BOOL - YES if the dividers are the larger pane splitters. Otherwise NO.
 */
 - (BOOL)isPaneSplitter
 {
@@ -178,7 +179,8 @@ var CPSplitViewHorizontalImage = nil,
 
 /*!
     Used to set if the split view dividers should be the larger pane splitter.
-    @param shouldBePaneSplitter - YES if the divers should be the thicker pane splitter, otherwise NO.
+
+    @param shouldBePaneSplitter - YES if the dividers should be the thicker pane splitter, otherwise NO.
 */
 - (void)setIsPaneSplitter:(BOOL)shouldBePaneSplitter
 {
@@ -213,6 +215,7 @@ var CPSplitViewHorizontalImage = nil,
 
 /*!
     Returns the CGRect of the divider at a given index.
+
     @param int - The index of a divider.
     @return CGRect - The rect of a divider.
 */
@@ -230,7 +233,8 @@ var CPSplitViewHorizontalImage = nil,
 }
 
 /*!
-    Returns the rect of the diver which the user is able to drag to resize.
+    Returns the rect of the divider which the user is able to drag to resize.
+
     @param int - The index of the divider.
     @return CGRect - The rect the user can drag.
 */