'Returns the context which contains this option\'s indent.'

def FindContextForOption(self, indent):

    context = self.current_context
    while ((indent <= context.indent) and (context != self.root)):
        context = context.parent
    return context
