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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -