Moving tabs in Komodo -
there no command rearranging tabs in editor in key bindings menu (moving tab left or right). there way in komodo edit?
possible solution write 2 macros moving tab left , right , set key bindings them.
var tabs = document.getelementbyid("tabbed-view").tabs; var current_tab = tabs.selecteditem; var current_tab_index = tabs.getindexofitem(current_tab); // var right_tab = tabs.getitematindex(current_tab_index + 1); var left_tab = tabs.getitematindex(current_tab_index - 1); if (left_tab /*right_tab*/) { tabs.insertbefore(current_tab /*right_tab*/, left_tab /*current_tab*/); tabs.scrollboxobject.ensureelementisvisible(current_tab); }
Comments
Post a Comment