 				range = retString.endIndex ..< retString.endIndex
 				return
 			}
-
+			
 			let target = getPosition(cursor, now: retString.endIndex)
 			if range.startIndex == range.endIndex {
 				checkCursor = nil

			}
		}
	}

	func checkChar(char: Character) -> String.Index {
		switch char {
		case "+", "*", "%", "^", "&", ">", "|", "=":

	var checkCursor: (() -> Void)?
	var inSwitch = false
	var switchCount = 0
	
	init(string: String, range: NSRange? = nil) {
		self.string = string
		self.strIndex = string.startIndex
		self.INDENT_CHAR = "\t"
		
		if range != nil {
			self.range = string.rangeFromNSRange(range)!
			self.checkCursor = checkCursorStart
