add current_widget method and current_changed signal
add a splittable widget specialised for code editor widgets