         lines = text.split(/\n|\r\n/)
 
         prefix = ""
-        prefix += "\t" for i in [0..indent - 1]
+        prefix += "#{@tabString}" for i in [0..indent - 1]
 
         for line in lines
             buffer += prefix + line + "\n"

            # If classdef extends another class, add appropriate code
            if classdef.extends
                buffer += "\n"
                buffer += "\t#{classdef.name}.prototype = Object.create(#{classdef.extends}.prototype);\n"
                buffer += "\t#{classdef.name}.prototype.constructor = #{classdef.name};\n"

            if classdef.methods.length > 0
                for method in [0..classdef.methods.length - 1]


module.exports =

    activate: ->
        atom.commands.add "atom-workspace",
            "class-complete:complete": => @complete()

