 ///
 extension UITextView
 {
-    /// A convenience metod for getting the CGRect of the currentl text selection.
-    ///
-    /// - Returns: The CGRect of the current text selection.
+    /// A convenience metod for getting the CGRect of the current text selection.
     ///
     public func rectForCurrentSelection() -> CGRect {
         return layoutManager.boundingRectForGlyphRange(selectedRange, inTextContainer: textContainer)


        return offsetFromPosition(beginningOfDocument, toPosition: selectedRange.start)
    }
}


    /// Determines what's the position of the cursor, expressed as the character index we're currently at.
    ///
    public func positionForCursor() -> Int {
        guard let selectedRange = selectedTextRange else {
            return 0
