You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/document.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,15 @@ functions are used for creating instances of the :class:`Document` object.
30
30
31
31
:return: A :class:`Document` instance for the corresponding document or :data:`None` if no document matched.
32
32
33
-
.. function:: get_from_index(index)
33
+
.. function:: index(index)
34
34
35
35
Gets a document based on its index in Geany's documents array.
36
36
37
37
:param index: The index of the document in Geany's documents array.
38
38
39
39
:return: A :class:`Document` instance for the corresponding document or :data:`None` if not document matched, or the document that matched isn't valid.
0 commit comments