def parse_task_full_content(full_content):
    """
	Return a tuple (title, content) extracted from the content found in a file
	edited through `todo edit` or `todo add [<title>] --edit`
	"""
    title, content = '', None
    state = 'title'
    lines = full_content.splitlines(keepends=True)
    for i, line in enumerate(lines):
        if state == 'title' and line.startswith('==='):
            state = 'content'
            continue
        if state == 'title':
            title += line
        elif state == 'content':
            if content is None:
                content = ''
            content += line
    title = title.rstrip()
    return title, content
