sublime_lib icon indicating copy to clipboard operation
sublime_lib copied to clipboard

Utility library for frequently used functionality in Sublime Text and convenience functions or classes

Results 23 sublime_lib issues
Sort by recently updated
recently updated
newest added

This issue is for feature suggestions that don't have their own issue (yet). This allows us to brainstorm fearlessly without creating a ton of issues for lightly-considered ideas. --- All...

enhancement
discussion

To be included in our encodings map. Exact name via https://discord.com/channels/280102180189634562/280157083356233728/917661821031309313.

enhancement

For #164. Notes: - Needs documentation, many more tests, more error handling. - A couple of the types could be tightened up. - `OnChangedOptions` is a named tuple so that...

via https://github.com/SublimeText/sublime_lib/pull/166#discussion_r637393306 > Since we use selectors twice in `sublime_lib`, I really believe this explanation should go into its own section that we then reference. Kind of how the official...

documentation

Decorated regions in a view can be regarded as a resource. Resources must be cleaned up when they are no longer needed. It is too easy to forget this in...

enhancement

As seen on Discord. Motivating examples: ```python from sublime_lib import GlobalSettingsListener, ViewSettingsListener, on_setting_changed class TabSizeListener(ViewSettingsListener): @classmethod def is_applicable(cls, settings: sublime.Settings) -> bool: return settings.get('translate_tabs_to_spaces', False) @classmethod def applies_to_primary_view_only(cls) -> bool:...

enhancement

This issue is to be used to announce potentially breaking changes or new feature additions. Package developers using `sublime_lib` in their code may subscribe to this issue in order to...

META

The next ST build will include the following changes. I'm just listing those that are relevant for us for now. - [ ] Settings objects can be accessed like a...

The current version runs on 3.3 and doesn't have any of the ST4 features. Obviously, a future version will run on 3.8 and have all of the ST4 features. Is...

META

I was just thinking that most (text) input handlers are fairly simple and provide mostly static values for their (abstract) methods, which makes creation of a separate class rather decoupled...

enhancement
discussion