Skip to content

Commit 16d9435

Browse files
Thom1729FichteFoll
authored andcommitted
Added docs for 1.4. (#123)
1 parent 453425b commit 16d9435

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

docs/source/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ Syntax utilities
4848
.. autofunction:: sublime_lib.list_syntaxes
4949
.. autofunction:: sublime_lib.get_syntax_for_scope
5050

51+
Activity indicator
52+
------------------
53+
54+
.. autoclass:: sublime_lib.ActivityIndicator
55+
5156
:mod:`~sublime_lib.encodings` submodule
5257
---------------------------------------
5358

st3/sublime_lib/activity_indicator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class ActivityIndicator:
5858
If `label` is provided, then it will be shown next to the animation.
5959
6060
:class:`ActivityIndicator` can be used as a context manager.
61+
62+
.. versionadded:: 1.4
6163
"""
6264
width = 10 # type: int
6365
interval = 100 # type: float

st3/sublime_lib/flags.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ class HoverLocation(IntEnum):
187187
"""
188188
An :class:`~enum.IntEnum` for use with
189189
:func:`sublime_plugin.EventListener.on_hover`.
190+
191+
.. versionadded:: 1.4
190192
"""
191193
TEXT = sublime.HOVER_TEXT
192194
GUTTER = sublime.HOVER_GUTTER
@@ -217,6 +219,8 @@ class QueryContextOperator(IntEnum):
217219
An :class:`~enum.IntEnum` for use with
218220
:func:`sublime_plugin.EventListener.on_query_context`.
219221
222+
.. versionadded:: 1.4
223+
220224
.. py:method:: apply(value, operand)
221225
222226
Apply the operation to the given values.
@@ -265,6 +269,8 @@ class CompletionOptions(IntFlag, metaclass=ExtensibleConstructorMeta):
265269
"""
266270
An :class:`~enum.IntFlag` for use with
267271
:func:`sublime_plugin.EventListener.on_query_completions`.
272+
273+
.. versionadded:: 1.4
268274
"""
269275
INHIBIT_WORD_COMPLETIONS = sublime.INHIBIT_WORD_COMPLETIONS
270276
INHIBIT_EXPLICIT_COMPLETIONS = sublime.INHIBIT_EXPLICIT_COMPLETIONS

0 commit comments

Comments
 (0)