             else
                 line = @editor.createBlankFunctionHeader(command) + ';'
                 funct = codeEditor.insertCommand
-            
+
             button = jQuery '<button>', {
                 id: command,
                 value: command,

            code += '\n' + @hiddenSuffix
        return code

                
    gotoLine: (row) ->
        column = @editor.getCursorPosition().column
        @editor.gotoLine row, column, true


    insertLine: ({text, line, currentRow}) ->
        maxRow = @editSession.getLength()
        currentRow = Math.max(currentRow, @codePrefixLength-1)
        currentRow = Math.min(currentRow, maxRow-@codeSuffixLength-1  )
        currentLine = text.getLine currentRow

        if @commands.hasOwnProperty line
