nl_tokens: Returns string with correct number of spaces for info . baseName property .
pl_tokens: function updateIndent ( info , dict , whitespaceNode ) { var item = dict [ info . id ] ; if ( ! item ) return whitespaceNode ; var crPos = whitespaceNode . lastIndexOf ( '\n' ) ; var tabPos = whitespaceNode . lastIndexOf ( '\t' ) ; if ( tabPos > crPos ) crPos = tabPos ; var firstPart = whitespaceNode . substr ( 0 , crPos + 1 ) ; var extraIndent = new Array ( ( item . prefixLength - info . prefixLength ) + ( <mask> . extra - info . extra ) + whitespaceNode . length - firstPart . length + 1 ) . join ( ' ' ) ; return firstPart . concat ( extraIndent ) ; }