example/public/ueditor/third-party/SyntaxHighlighter/shCore.js
function processTabs(code, tabSize)
    {
        var tab = '';

        for (var i = 0; i < tabSize; i++)
            tab += ' ';

        return code.replace(/\t/g, tab);
    }
function processTabs(code, tabSize)
    {
        var tab = '';

        for (var i = 0; i < tabSize; i++)
            tab += ' ';

        return code.replace(/\t/g, tab);
    }
function processTabs ( code , tabSize ) { var tab = '' ; for ( var i = 0 ; i < tabSize ; i ++ ) tab += ' ' ; return code . replace ( / \t / g , tab ) ; }
Replaces tabs with spaces.

@param {String} code		Source code.
@param {Number} tabSize	Size of the tab.
@return {String}			Returns code with all tabs replaces by spaces.
Replaces tabs with spaces .