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