Sublime Forum

How do you determine if tabs are being shown?

#1

I’m trying to come up with a quick plugin for Sublime Text 2 that will hide the tab bar when only one file is open. I found the command to toggle the tab bar on and off, but without knowing what state it is in initially my plugin gets confused.

Code is here: pastie.org/3344341

Does anyone know a way to determine the initial state of the tabs?

Thanks,
dwarburton

0 Likes

#2

+1 hide tab when only one file is useful and intuitive

0 Likes