Adding pane functionality like Sublime.