 		var diff = 0
 
 		while strIndex > cursor {
-			// TODO: if space is in quote it should be count
+				// TODO: if space is in quote it should be count
 
 			if !string[cursor].isSpace() {
 				diff += 1


	func checkCursorStart() {
		if strIndex >= range.startIndex {
			checkCursor = checkCursorEnd
			let cursor = range.startIndex
			if cursor == string.startIndex {
				return
			} else if cursor == string.endIndex {
				checkCursor = nil

				range.startIndex = target
			} else {
				var temp = string.substringToIndex((cursor))
					// TODO cannot decrement startIndex
					if target == retString.startIndex {
						temp += retString.substringFromIndex(target)
					} else {
						temp += retString.substringFromIndex(retString.lastNonSpaceIndex(target.predecessor()).successor())
					}
				retString = temp;
			}
		}
