fix global undo and redo
add changed signal for sourcebuffer
not change color in source view mode