Releases: SublimeText/sublime_lib
Releases · SublimeText/sublime_lib
v1.5.2
v1.5.1
v1.5.0
Enhancements
- ActivityIndicator no longer uses a thread. (#140)
- Two SettingsDicts are equal if and only if they are the same type and refer to the same underling Settings object. (#129)
- Add the Central European (Mac) encoding. (#138)
Bug Fixes
- When an ActivityIndicator is garbage collected, it should stop running. (#153)
- When modifying settings in a
SettingsDict.subscribe()callback, don't call the subscription again if the subscribed settings haven't changed. (#152) - When force-closing views with
close_view()orclose_window(), revert the scratch state of any clones of those views. (#147) - A glob pattern like
foo/**/*shouldn't matchfoo/. (#134)
Documentation Changes
- Improved
SettingsDict.subcribedocumentation to clarify how it detects changes in the selected value.
Internal Changes
v1.4.0
v1.3.0
Enhancements
- New
Panelclass for use with panels other than output panels, such as the console. - Several new methods of
ResourcePath:copyandcopytree.relative_to.add_suffixandremove_suffix.
- The
flagsargument ofshow_selection_panelaccepts more values.
Bug Fixes
sublime_lib.encodings.to_sublimeandfrom_sublimeexplicitly handle lookup errors.
Documentation Changes
- Minor improvements to docs layout. (#102)
Internal Changes
- Use MyPy type checking.
v1.2.2
v1.2.1
v1.2.0
Enhancements
- Added
ResourcePath, a pathlib-inspired representation of a Sublime Text resource path. - Added
new_windowandclose_windowfunctions. - Added
show_selection_panel, a convenient wrapper forsublime.show_quick_panel. ViewStream.seeknow accepts any integer offset for any value ofwhence.- Added
ViewStream.show_cursorand theViewStream(follow_cursor)argument. - Added
new_view(line_endings)argument andLineEndingenum. - All enums in
sublime_libcan be constructed from a member name. Flag enums can be constructed using multiple arguments.
Bug Fixes
- Significantly improved
list_syntaxesandfind_syntax_by_scope:
Documentation Changes
- New single-page design for API reference.
- Many improvements to individual docstrings.
Internal Changes
- 100% test coverage.
- Simplified documentation build process.
- Moved non-exported utility functionality to
_utilsubmodule. - Vendored
pathlib.