Home Download Buy Blog Forum Support

Setting hide tabs state

Setting hide tabs state

Postby lowliet on Tue Feb 12, 2013 7:42 pm


I'm struggling to write simple plugin to hide tabs bar when there is only one file opened and my problem is that I can toggle hide/show tabs option, but I'm unable to set it to specified state:

Code: Select all

Is there any way to determine tabs bar state using settings:

Code: Select all
window.run_command("echo", {"Tabs": view.settings().get('hideTabs')}) #?

Is there other way around to do it using Sublime 2 API?
Posts: 1
Joined: Tue Feb 12, 2013 7:24 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 30 guests