Skip to content

v1.2.0

Choose a tag to compare

@Thom1729 Thom1729 released this 17 Dec 15:35
· 82 commits to master since this release
2d4d432

Enhancements

  • Added ResourcePath, a pathlib-inspired representation of a Sublime Text resource path.
  • Added new_window and close_window functions.
  • Added show_selection_panel, a convenient wrapper for sublime.show_quick_panel.
  • ViewStream.seek now accepts any integer offset for any value of whence.
  • Added ViewStream.show_cursor and the ViewStream(follow_cursor) argument.
  • Added new_view(line_endings) argument and LineEnding enum.
  • All enums in sublime_lib can be constructed from a member name. Flag enums can be constructed using multiple arguments.

Bug Fixes

  • Significantly improved list_syntaxes and find_syntax_by_scope:
    • Correctly observe resource loading order.
    • Ignore tmLanguage and hidden-tmLanguage files that are “shadowed” by sublime-syntax files. (#73)
    • Support hidden-tmLanguage files. (#76)

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 _util submodule.
  • Vendored pathlib.