fix doc code linenum bug
add icon undo/redo