Development continues. This release allows you to disable the functionality that hides the tab bar when only one file is open. Disabling that auto hide makes Textmate 2’s functionality like that of Textmate 1.
callback.application.did-deactivateas two new semantic classes. A command with this class will be executed when the application gain/lose focus. The scope selector is matched against the “current scope” of the visible document (in each window). This allows creating a command with “Save” set to “Modified Documents” and thereby recreating TextMate 1.x’s ability to save modified documents on lost focus.
- The approach in 2.0 also allows to run some code, for example reloading the currently open browsers, and it can be scoped e.g. to
text.htmlto only have the “save on lost focus” enabled when editing HTML files - alternatively one can introduce a custom scope like
attr.save-on-deactivateand set that for specific projects via a
- Tab bar can be made always visible:
defaults write com.macromates.TextMate.preview disableTabBarCollapsing -bool YES.
- Fix issue with indented soft wrap having the prefix string wider than the wrap column.
- Fix issue with selection sent to commands needing entire document (e.g. ⌘R for Ruby, Python, etc.).
- Fix issue with ⌃⇥ not always working to move focus to file browser.
- Remove folding patterns from grammar template.