'Store the source text & set some flags'

def __init__(self, raw, colors=None, title='', out=sys.stdout, markup='html', header=None, footer=None, linenumbers=0):

    if (colors == None):
        colors = defaultColors
    self.raw = raw.expandtabs().rstrip()
    self.title = os.path.basename(title)
    self.out = out
    self.line = ''
    self.lasttext = ''
    self.argFlag = 0
    self.classFlag = 0
    self.defFlag = 0
    self.decoratorFlag = 0
    self.external = 0
    self.markup = markup.upper()
    self.colors = colors
    self.header = header
    self.footer = footer
    self.doArgs = 1
    self.doNames = 1
    self.doMathOps = 1
    self.doBrackets = 1
    self.doURL = 1
    self.LINENUMHOLDER = '___line___'.upper()
    self.LINESTART = '___start___'.upper()
    self.skip = 0
    self.extraspace = self.colors.get(EXTRASPACE, '')
    self.dolinenums = self.linenum = abs(linenumbers)
    if (linenumbers < 0):
        self.numberlinks = 1
    else:
        self.numberlinks = 0
