     // MARK:- Type declaration
     
     enum InputMode {
-        case Char, Word
+        case Char, Word, Line
     }
     
     private enum State {

        }
    }
    
    private func showResults(char: Character) {
        
        let ranges = rangesForChar(char)
        
        let rects = ranges.map(currentEditorView.rectFromRange)
        

        switch state {
        case .InputChar:
            hideTextField()
            showResultsForRanges(rangesForChar(char))
        case .ShowCandidates:
            if let result = labelsController.next(char) {
                removeTextField()
