'Setup list widget content for symbol list display.'

def setup_symbol_list(self, filter_text, current_path):

    (filter_text, symbol_text) = filter_text.split('@')
    oedata = self.get_symbol_list()
    icons = get_python_symbol_icons(oedata)
    paths = self.paths
    self.fix_size(paths)
    symbol_list = process_python_symbol_data(oedata)
    line_fold_token = [(item[0], item[2], item[3]) for item in symbol_list]
    choices = [item[1] for item in symbol_list]
    scores = get_search_scores(symbol_text, choices, template='<b>{0}</b>')
    results = []
    lines = []
    self.filtered_symbol_lines = []
    for (index, score) in enumerate(scores):
        (text, rich_text, score_value) = score
        (line, fold_level, token) = line_fold_token[index]
        lines.append(text)
        if (score_value != (-1)):
            results.append((score_value, line, text, rich_text, fold_level, icons[index], token))
    template = '{0}{1}'
    for (score, line, text, rich_text, fold_level, icon, token) in sorted(results):
        fold_space = ('&nbsp;' * fold_level)
        line_number = (line + 1)
        self.filtered_symbol_lines.append(line_number)
        textline = template.format(fold_space, rich_text)
        item = QListWidgetItem(icon, textline)
        item.setSizeHint(QSize(0, 16))
        self.list.addItem(item)
    self.list.files_list = False
