You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
API request: controlling the title text of the tabs #256
For my package foldername-tabs I currently need to track the tabs to change their content. This is very tedious, as tabs are getting repainted nearly everywhere. (I need 1 watcher on workspace and two on every pane)
A api, which would let me control the text directly, would make my package about 80% lighter and would ensure good interop with other packages (currently I manipulate the dom directly).
This is what I would need:
consumeTabsPainter: (Tab) ->unlessTab.isSpecial# like options# assuming the element is cached within tabs and this is only called on tab create and path changeTab.onChange (fullpath) ->element=doSomething(Tab.fullpath)
return element
# assuming the element is cached within the package and this is called on every repaintelement=doSomethingWCaching(Tab.fullpath)
Tab.setLabel(element)
Activity