fake-bpy-module 20240928__py3-none-any.whl → 20240930__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bmesh/types/__init__.pyi +2 -2
- bpy/__init__.pyi +1 -1
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +124 -124
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +26 -26
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +54 -54
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +4 -4
- bpy/ops/extensions/__init__.pyi +68 -68
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +284 -284
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +202 -202
- bpy/ops/image/__init__.pyi +98 -98
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +4 -4
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +326 -326
- bpy/ops/nla/__init__.pyi +78 -78
- bpy/ops/node/__init__.pyi +230 -230
- bpy/ops/object/__init__.pyi +476 -476
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +108 -108
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +102 -102
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +70 -70
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +26 -26
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +74 -74
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +74 -74
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +178 -178
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +68 -68
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +4 -4
- bpy/types/__init__.pyi +333 -298
- bpy_extras/object_utils/__init__.pyi +4 -4
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/RECORD +85 -85
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -4,19 +4,19 @@ import typing_extensions
|
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
7
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
8
|
execution_context: int | str | None = None,
|
|
9
9
|
undo: bool | None = None,
|
|
10
10
|
):
|
|
11
11
|
"""Show a list of used text in the open document
|
|
12
12
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
13
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
14
|
:type execution_context: int | str | None
|
|
15
15
|
:type undo: bool | None
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
def comment_toggle(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
19
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
20
|
execution_context: int | str | None = None,
|
|
21
21
|
undo: bool | None = None,
|
|
22
22
|
*,
|
|
@@ -24,7 +24,7 @@ def comment_toggle(
|
|
|
24
24
|
):
|
|
25
25
|
"""Undocumented, consider contributing.
|
|
26
26
|
|
|
27
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
27
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
28
28
|
:type execution_context: int | str | None
|
|
29
29
|
:type undo: bool | None
|
|
30
30
|
:param type: Type, Add or remove comments
|
|
@@ -32,7 +32,7 @@ def comment_toggle(
|
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
def convert_whitespace(
|
|
35
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
35
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
36
36
|
execution_context: int | str | None = None,
|
|
37
37
|
undo: bool | None = None,
|
|
38
38
|
*,
|
|
@@ -40,7 +40,7 @@ def convert_whitespace(
|
|
|
40
40
|
):
|
|
41
41
|
"""Convert whitespaces by type
|
|
42
42
|
|
|
43
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
43
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
44
44
|
:type execution_context: int | str | None
|
|
45
45
|
:type undo: bool | None
|
|
46
46
|
:param type: Type, Type of whitespace to convert to
|
|
@@ -48,19 +48,19 @@ def convert_whitespace(
|
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
def copy(
|
|
51
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
51
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
52
52
|
execution_context: int | str | None = None,
|
|
53
53
|
undo: bool | None = None,
|
|
54
54
|
):
|
|
55
55
|
"""Copy selected text to clipboard
|
|
56
56
|
|
|
57
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
57
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
58
58
|
:type execution_context: int | str | None
|
|
59
59
|
:type undo: bool | None
|
|
60
60
|
"""
|
|
61
61
|
|
|
62
62
|
def cursor_set(
|
|
63
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
63
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
64
64
|
execution_context: int | str | None = None,
|
|
65
65
|
undo: bool | None = None,
|
|
66
66
|
*,
|
|
@@ -69,7 +69,7 @@ def cursor_set(
|
|
|
69
69
|
):
|
|
70
70
|
"""Set cursor position
|
|
71
71
|
|
|
72
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
72
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
73
73
|
:type execution_context: int | str | None
|
|
74
74
|
:type undo: bool | None
|
|
75
75
|
:param x: X
|
|
@@ -79,19 +79,19 @@ def cursor_set(
|
|
|
79
79
|
"""
|
|
80
80
|
|
|
81
81
|
def cut(
|
|
82
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
82
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
83
83
|
execution_context: int | str | None = None,
|
|
84
84
|
undo: bool | None = None,
|
|
85
85
|
):
|
|
86
86
|
"""Cut selected text to clipboard
|
|
87
87
|
|
|
88
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
88
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
89
89
|
:type execution_context: int | str | None
|
|
90
90
|
:type undo: bool | None
|
|
91
91
|
"""
|
|
92
92
|
|
|
93
93
|
def delete(
|
|
94
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
94
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
95
95
|
execution_context: int | str | None = None,
|
|
96
96
|
undo: bool | None = None,
|
|
97
97
|
*,
|
|
@@ -102,7 +102,7 @@ def delete(
|
|
|
102
102
|
):
|
|
103
103
|
"""Delete text by cursor position
|
|
104
104
|
|
|
105
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
105
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
106
106
|
:type execution_context: int | str | None
|
|
107
107
|
:type undo: bool | None
|
|
108
108
|
:param type: Type, Which part of the text to delete
|
|
@@ -110,67 +110,67 @@ def delete(
|
|
|
110
110
|
"""
|
|
111
111
|
|
|
112
112
|
def duplicate_line(
|
|
113
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
113
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
114
114
|
execution_context: int | str | None = None,
|
|
115
115
|
undo: bool | None = None,
|
|
116
116
|
):
|
|
117
117
|
"""Duplicate the current line
|
|
118
118
|
|
|
119
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
119
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
120
120
|
:type execution_context: int | str | None
|
|
121
121
|
:type undo: bool | None
|
|
122
122
|
"""
|
|
123
123
|
|
|
124
124
|
def find(
|
|
125
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
125
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
126
126
|
execution_context: int | str | None = None,
|
|
127
127
|
undo: bool | None = None,
|
|
128
128
|
):
|
|
129
129
|
"""Find specified text
|
|
130
130
|
|
|
131
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
131
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
132
132
|
:type execution_context: int | str | None
|
|
133
133
|
:type undo: bool | None
|
|
134
134
|
"""
|
|
135
135
|
|
|
136
136
|
def find_set_selected(
|
|
137
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
137
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
138
138
|
execution_context: int | str | None = None,
|
|
139
139
|
undo: bool | None = None,
|
|
140
140
|
):
|
|
141
141
|
"""Find specified text and set as selected
|
|
142
142
|
|
|
143
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
143
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
144
144
|
:type execution_context: int | str | None
|
|
145
145
|
:type undo: bool | None
|
|
146
146
|
"""
|
|
147
147
|
|
|
148
148
|
def indent(
|
|
149
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
149
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
150
150
|
execution_context: int | str | None = None,
|
|
151
151
|
undo: bool | None = None,
|
|
152
152
|
):
|
|
153
153
|
"""Indent selected text
|
|
154
154
|
|
|
155
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
155
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
156
156
|
:type execution_context: int | str | None
|
|
157
157
|
:type undo: bool | None
|
|
158
158
|
"""
|
|
159
159
|
|
|
160
160
|
def indent_or_autocomplete(
|
|
161
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
161
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
162
162
|
execution_context: int | str | None = None,
|
|
163
163
|
undo: bool | None = None,
|
|
164
164
|
):
|
|
165
165
|
"""Indent selected text or autocomplete
|
|
166
166
|
|
|
167
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
167
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
168
168
|
:type execution_context: int | str | None
|
|
169
169
|
:type undo: bool | None
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
def insert(
|
|
173
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
173
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
174
174
|
execution_context: int | str | None = None,
|
|
175
175
|
undo: bool | None = None,
|
|
176
176
|
*,
|
|
@@ -178,7 +178,7 @@ def insert(
|
|
|
178
178
|
):
|
|
179
179
|
"""Insert text at cursor position
|
|
180
180
|
|
|
181
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
181
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
182
182
|
:type execution_context: int | str | None
|
|
183
183
|
:type undo: bool | None
|
|
184
184
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -186,7 +186,7 @@ def insert(
|
|
|
186
186
|
"""
|
|
187
187
|
|
|
188
188
|
def jump(
|
|
189
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
189
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
190
190
|
execution_context: int | str | None = None,
|
|
191
191
|
undo: bool | None = None,
|
|
192
192
|
*,
|
|
@@ -194,7 +194,7 @@ def jump(
|
|
|
194
194
|
):
|
|
195
195
|
"""Jump cursor to line
|
|
196
196
|
|
|
197
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
197
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
198
198
|
:type execution_context: int | str | None
|
|
199
199
|
:type undo: bool | None
|
|
200
200
|
:param line: Line, Line number to jump to
|
|
@@ -202,7 +202,7 @@ def jump(
|
|
|
202
202
|
"""
|
|
203
203
|
|
|
204
204
|
def jump_to_file_at_point(
|
|
205
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
205
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
206
206
|
execution_context: int | str | None = None,
|
|
207
207
|
undo: bool | None = None,
|
|
208
208
|
*,
|
|
@@ -212,7 +212,7 @@ def jump_to_file_at_point(
|
|
|
212
212
|
):
|
|
213
213
|
"""Jump to a file for the text editor
|
|
214
214
|
|
|
215
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
215
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
216
216
|
:type execution_context: int | str | None
|
|
217
217
|
:type undo: bool | None
|
|
218
218
|
:param filepath: Filepath
|
|
@@ -224,43 +224,43 @@ def jump_to_file_at_point(
|
|
|
224
224
|
"""
|
|
225
225
|
|
|
226
226
|
def line_break(
|
|
227
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
227
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
228
228
|
execution_context: int | str | None = None,
|
|
229
229
|
undo: bool | None = None,
|
|
230
230
|
):
|
|
231
231
|
"""Insert line break at cursor position
|
|
232
232
|
|
|
233
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
233
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
234
234
|
:type execution_context: int | str | None
|
|
235
235
|
:type undo: bool | None
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
def line_number(
|
|
239
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
239
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
240
240
|
execution_context: int | str | None = None,
|
|
241
241
|
undo: bool | None = None,
|
|
242
242
|
):
|
|
243
243
|
"""The current line number
|
|
244
244
|
|
|
245
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
245
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
246
246
|
:type execution_context: int | str | None
|
|
247
247
|
:type undo: bool | None
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
def make_internal(
|
|
251
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
251
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
252
252
|
execution_context: int | str | None = None,
|
|
253
253
|
undo: bool | None = None,
|
|
254
254
|
):
|
|
255
255
|
"""Make active text file internal
|
|
256
256
|
|
|
257
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
257
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
258
258
|
:type execution_context: int | str | None
|
|
259
259
|
:type undo: bool | None
|
|
260
260
|
"""
|
|
261
261
|
|
|
262
262
|
def move(
|
|
263
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
263
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
264
264
|
execution_context: int | str | None = None,
|
|
265
265
|
undo: bool | None = None,
|
|
266
266
|
*,
|
|
@@ -282,7 +282,7 @@ def move(
|
|
|
282
282
|
):
|
|
283
283
|
"""Move cursor to position type
|
|
284
284
|
|
|
285
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
285
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
286
286
|
:type execution_context: int | str | None
|
|
287
287
|
:type undo: bool | None
|
|
288
288
|
:param type: Type, Where to move cursor to
|
|
@@ -290,7 +290,7 @@ def move(
|
|
|
290
290
|
"""
|
|
291
291
|
|
|
292
292
|
def move_lines(
|
|
293
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
293
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
294
294
|
execution_context: int | str | None = None,
|
|
295
295
|
undo: bool | None = None,
|
|
296
296
|
*,
|
|
@@ -298,7 +298,7 @@ def move_lines(
|
|
|
298
298
|
):
|
|
299
299
|
"""Move the currently selected line(s) up/down
|
|
300
300
|
|
|
301
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
301
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
302
302
|
:type execution_context: int | str | None
|
|
303
303
|
:type undo: bool | None
|
|
304
304
|
:param direction: Direction
|
|
@@ -306,7 +306,7 @@ def move_lines(
|
|
|
306
306
|
"""
|
|
307
307
|
|
|
308
308
|
def move_select(
|
|
309
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
309
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
310
310
|
execution_context: int | str | None = None,
|
|
311
311
|
undo: bool | None = None,
|
|
312
312
|
*,
|
|
@@ -328,7 +328,7 @@ def move_select(
|
|
|
328
328
|
):
|
|
329
329
|
"""Move the cursor while selecting
|
|
330
330
|
|
|
331
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
331
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
332
332
|
:type execution_context: int | str | None
|
|
333
333
|
:type undo: bool | None
|
|
334
334
|
:param type: Type, Where to move cursor to, to make a selection
|
|
@@ -336,19 +336,19 @@ def move_select(
|
|
|
336
336
|
"""
|
|
337
337
|
|
|
338
338
|
def new(
|
|
339
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
339
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
340
340
|
execution_context: int | str | None = None,
|
|
341
341
|
undo: bool | None = None,
|
|
342
342
|
):
|
|
343
343
|
"""Create a new text data-block
|
|
344
344
|
|
|
345
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
345
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
346
346
|
:type execution_context: int | str | None
|
|
347
347
|
:type undo: bool | None
|
|
348
348
|
"""
|
|
349
349
|
|
|
350
350
|
def open(
|
|
351
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
351
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
352
352
|
execution_context: int | str | None = None,
|
|
353
353
|
undo: bool | None = None,
|
|
354
354
|
*,
|
|
@@ -389,7 +389,7 @@ def open(
|
|
|
389
389
|
):
|
|
390
390
|
"""Open a new text data-block
|
|
391
391
|
|
|
392
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
392
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
393
393
|
:type execution_context: int | str | None
|
|
394
394
|
:type undo: bool | None
|
|
395
395
|
:param filepath: File Path, Path to file
|
|
@@ -470,19 +470,19 @@ def open(
|
|
|
470
470
|
"""
|
|
471
471
|
|
|
472
472
|
def overwrite_toggle(
|
|
473
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
473
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
474
474
|
execution_context: int | str | None = None,
|
|
475
475
|
undo: bool | None = None,
|
|
476
476
|
):
|
|
477
477
|
"""Toggle overwrite while typing
|
|
478
478
|
|
|
479
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
479
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
480
480
|
:type execution_context: int | str | None
|
|
481
481
|
:type undo: bool | None
|
|
482
482
|
"""
|
|
483
483
|
|
|
484
484
|
def paste(
|
|
485
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
485
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
486
486
|
execution_context: int | str | None = None,
|
|
487
487
|
undo: bool | None = None,
|
|
488
488
|
*,
|
|
@@ -490,7 +490,7 @@ def paste(
|
|
|
490
490
|
):
|
|
491
491
|
"""Paste text from clipboard
|
|
492
492
|
|
|
493
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
493
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
494
494
|
:type execution_context: int | str | None
|
|
495
495
|
:type undo: bool | None
|
|
496
496
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
@@ -498,31 +498,31 @@ def paste(
|
|
|
498
498
|
"""
|
|
499
499
|
|
|
500
500
|
def refresh_pyconstraints(
|
|
501
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
501
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
502
502
|
execution_context: int | str | None = None,
|
|
503
503
|
undo: bool | None = None,
|
|
504
504
|
):
|
|
505
505
|
"""Refresh all pyconstraints
|
|
506
506
|
|
|
507
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
507
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
508
508
|
:type execution_context: int | str | None
|
|
509
509
|
:type undo: bool | None
|
|
510
510
|
"""
|
|
511
511
|
|
|
512
512
|
def reload(
|
|
513
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
513
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
514
514
|
execution_context: int | str | None = None,
|
|
515
515
|
undo: bool | None = None,
|
|
516
516
|
):
|
|
517
517
|
"""Reload active text data-block from its file
|
|
518
518
|
|
|
519
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
519
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
520
520
|
:type execution_context: int | str | None
|
|
521
521
|
:type undo: bool | None
|
|
522
522
|
"""
|
|
523
523
|
|
|
524
524
|
def replace(
|
|
525
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
525
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
526
526
|
execution_context: int | str | None = None,
|
|
527
527
|
undo: bool | None = None,
|
|
528
528
|
*,
|
|
@@ -530,7 +530,7 @@ def replace(
|
|
|
530
530
|
):
|
|
531
531
|
"""Replace text with the specified text
|
|
532
532
|
|
|
533
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
533
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
534
534
|
:type execution_context: int | str | None
|
|
535
535
|
:type undo: bool | None
|
|
536
536
|
:param all: Replace All, Replace all occurrences
|
|
@@ -538,19 +538,19 @@ def replace(
|
|
|
538
538
|
"""
|
|
539
539
|
|
|
540
540
|
def replace_set_selected(
|
|
541
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
541
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
542
542
|
execution_context: int | str | None = None,
|
|
543
543
|
undo: bool | None = None,
|
|
544
544
|
):
|
|
545
545
|
"""Replace text with specified text and set as selected
|
|
546
546
|
|
|
547
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
547
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
548
548
|
:type execution_context: int | str | None
|
|
549
549
|
:type undo: bool | None
|
|
550
550
|
"""
|
|
551
551
|
|
|
552
552
|
def resolve_conflict(
|
|
553
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
553
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
554
554
|
execution_context: int | str | None = None,
|
|
555
555
|
undo: bool | None = None,
|
|
556
556
|
*,
|
|
@@ -559,7 +559,7 @@ def resolve_conflict(
|
|
|
559
559
|
):
|
|
560
560
|
"""When external text is out of sync, resolve the conflict
|
|
561
561
|
|
|
562
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
562
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
563
563
|
:type execution_context: int | str | None
|
|
564
564
|
:type undo: bool | None
|
|
565
565
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
@@ -567,31 +567,31 @@ def resolve_conflict(
|
|
|
567
567
|
"""
|
|
568
568
|
|
|
569
569
|
def run_script(
|
|
570
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
570
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
571
571
|
execution_context: int | str | None = None,
|
|
572
572
|
undo: bool | None = None,
|
|
573
573
|
):
|
|
574
574
|
"""Run active script
|
|
575
575
|
|
|
576
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
576
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
577
577
|
:type execution_context: int | str | None
|
|
578
578
|
:type undo: bool | None
|
|
579
579
|
"""
|
|
580
580
|
|
|
581
581
|
def save(
|
|
582
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
582
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
583
583
|
execution_context: int | str | None = None,
|
|
584
584
|
undo: bool | None = None,
|
|
585
585
|
):
|
|
586
586
|
"""Save active text data-block
|
|
587
587
|
|
|
588
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
588
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
589
589
|
:type execution_context: int | str | None
|
|
590
590
|
:type undo: bool | None
|
|
591
591
|
"""
|
|
592
592
|
|
|
593
593
|
def save_as(
|
|
594
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
594
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
595
595
|
execution_context: int | str | None = None,
|
|
596
596
|
undo: bool | None = None,
|
|
597
597
|
*,
|
|
@@ -624,7 +624,7 @@ def save_as(
|
|
|
624
624
|
):
|
|
625
625
|
"""Save active text file with options
|
|
626
626
|
|
|
627
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
627
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
628
628
|
:type execution_context: int | str | None
|
|
629
629
|
:type undo: bool | None
|
|
630
630
|
:param filepath: File Path, Path to file
|
|
@@ -688,7 +688,7 @@ def save_as(
|
|
|
688
688
|
"""
|
|
689
689
|
|
|
690
690
|
def scroll(
|
|
691
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
691
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
692
692
|
execution_context: int | str | None = None,
|
|
693
693
|
undo: bool | None = None,
|
|
694
694
|
*,
|
|
@@ -696,7 +696,7 @@ def scroll(
|
|
|
696
696
|
):
|
|
697
697
|
"""Undocumented, consider contributing.
|
|
698
698
|
|
|
699
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
699
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
700
700
|
:type execution_context: int | str | None
|
|
701
701
|
:type undo: bool | None
|
|
702
702
|
:param lines: Lines, Number of lines to scroll
|
|
@@ -704,7 +704,7 @@ def scroll(
|
|
|
704
704
|
"""
|
|
705
705
|
|
|
706
706
|
def scroll_bar(
|
|
707
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
707
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
708
708
|
execution_context: int | str | None = None,
|
|
709
709
|
undo: bool | None = None,
|
|
710
710
|
*,
|
|
@@ -712,7 +712,7 @@ def scroll_bar(
|
|
|
712
712
|
):
|
|
713
713
|
"""Undocumented, consider contributing.
|
|
714
714
|
|
|
715
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
715
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
716
716
|
:type execution_context: int | str | None
|
|
717
717
|
:type undo: bool | None
|
|
718
718
|
:param lines: Lines, Number of lines to scroll
|
|
@@ -720,67 +720,67 @@ def scroll_bar(
|
|
|
720
720
|
"""
|
|
721
721
|
|
|
722
722
|
def select_all(
|
|
723
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
723
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
724
724
|
execution_context: int | str | None = None,
|
|
725
725
|
undo: bool | None = None,
|
|
726
726
|
):
|
|
727
727
|
"""Select all text
|
|
728
728
|
|
|
729
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
729
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
730
730
|
:type execution_context: int | str | None
|
|
731
731
|
:type undo: bool | None
|
|
732
732
|
"""
|
|
733
733
|
|
|
734
734
|
def select_line(
|
|
735
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
735
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
736
736
|
execution_context: int | str | None = None,
|
|
737
737
|
undo: bool | None = None,
|
|
738
738
|
):
|
|
739
739
|
"""Select text by line
|
|
740
740
|
|
|
741
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
741
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
742
742
|
:type execution_context: int | str | None
|
|
743
743
|
:type undo: bool | None
|
|
744
744
|
"""
|
|
745
745
|
|
|
746
746
|
def select_word(
|
|
747
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
747
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
748
748
|
execution_context: int | str | None = None,
|
|
749
749
|
undo: bool | None = None,
|
|
750
750
|
):
|
|
751
751
|
"""Select word under cursor
|
|
752
752
|
|
|
753
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
753
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
754
754
|
:type execution_context: int | str | None
|
|
755
755
|
:type undo: bool | None
|
|
756
756
|
"""
|
|
757
757
|
|
|
758
758
|
def selection_set(
|
|
759
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
759
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
760
760
|
execution_context: int | str | None = None,
|
|
761
761
|
undo: bool | None = None,
|
|
762
762
|
):
|
|
763
763
|
"""Set text selection
|
|
764
764
|
|
|
765
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
765
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
766
766
|
:type execution_context: int | str | None
|
|
767
767
|
:type undo: bool | None
|
|
768
768
|
"""
|
|
769
769
|
|
|
770
770
|
def start_find(
|
|
771
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
771
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
772
772
|
execution_context: int | str | None = None,
|
|
773
773
|
undo: bool | None = None,
|
|
774
774
|
):
|
|
775
775
|
"""Start searching text
|
|
776
776
|
|
|
777
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
777
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
778
778
|
:type execution_context: int | str | None
|
|
779
779
|
:type undo: bool | None
|
|
780
780
|
"""
|
|
781
781
|
|
|
782
782
|
def to_3d_object(
|
|
783
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
783
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
784
784
|
execution_context: int | str | None = None,
|
|
785
785
|
undo: bool | None = None,
|
|
786
786
|
*,
|
|
@@ -788,7 +788,7 @@ def to_3d_object(
|
|
|
788
788
|
):
|
|
789
789
|
"""Create 3D text object from active text data-block
|
|
790
790
|
|
|
791
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
791
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
792
792
|
:type execution_context: int | str | None
|
|
793
793
|
:type undo: bool | None
|
|
794
794
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
@@ -796,25 +796,25 @@ def to_3d_object(
|
|
|
796
796
|
"""
|
|
797
797
|
|
|
798
798
|
def unindent(
|
|
799
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
799
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
800
800
|
execution_context: int | str | None = None,
|
|
801
801
|
undo: bool | None = None,
|
|
802
802
|
):
|
|
803
803
|
"""Unindent selected text
|
|
804
804
|
|
|
805
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
805
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
806
806
|
:type execution_context: int | str | None
|
|
807
807
|
:type undo: bool | None
|
|
808
808
|
"""
|
|
809
809
|
|
|
810
810
|
def unlink(
|
|
811
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
811
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
812
812
|
execution_context: int | str | None = None,
|
|
813
813
|
undo: bool | None = None,
|
|
814
814
|
):
|
|
815
815
|
"""Unlink active text data-block
|
|
816
816
|
|
|
817
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
817
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
818
818
|
:type execution_context: int | str | None
|
|
819
819
|
:type undo: bool | None
|
|
820
820
|
"""
|
bpy/ops/text_editor/__init__.pyi
CHANGED
|
@@ -4,7 +4,7 @@ import typing_extensions
|
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
6
|
def preset_add(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
7
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
8
|
execution_context: int | str | None = None,
|
|
9
9
|
undo: bool | None = None,
|
|
10
10
|
*,
|
|
@@ -14,7 +14,7 @@ def preset_add(
|
|
|
14
14
|
):
|
|
15
15
|
"""Add or remove a Text Editor Preset
|
|
16
16
|
|
|
17
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
17
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
18
18
|
:type execution_context: int | str | None
|
|
19
19
|
:type undo: bool | None
|
|
20
20
|
:param name: Name, Name of the preset, used to make the path name
|