change type of file opening to the last opened one
add docWidget instead splitter in bottom
the basic of undo added

it still need do some work for complete