optimise line number painting
update mindmap