'Return the current contents of history item at index (starts with index 1).'

def get_history_item(self, index):

    item = self.history[(index - 1)]
    log((u'get_history_item:    index:%d    item:%r' % (index, item)))
    return item.get_line_text()
