fake-bpy-module 20241208__py3-none-any.whl → 20241209__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.
- bpy/ops/action/__init__.pyi +38 -138
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +8 -41
- bpy/ops/brush/__init__.pyi +13 -39
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +92 -290
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +9 -25
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +51 -180
- bpy/ops/curves/__init__.pyi +28 -100
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +5 -19
- bpy/ops/ed/__init__.pyi +12 -53
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +2 -5
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +10 -27
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +65 -184
- bpy/ops/grease_pencil/__init__.pyi +108 -290
- bpy/ops/image/__init__.pyi +49 -154
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +2 -4
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +8 -29
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +164 -401
- bpy/ops/nla/__init__.pyi +39 -147
- bpy/ops/node/__init__.pyi +115 -390
- bpy/ops/object/__init__.pyi +237 -630
- bpy/ops/outliner/__init__.pyi +71 -263
- bpy/ops/paint/__init__.pyi +54 -140
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +36 -134
- bpy/ops/pose/__init__.pyi +51 -169
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +13 -45
- bpy/ops/scene/__init__.pyi +37 -121
- bpy/ops/screen/__init__.pyi +39 -137
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +37 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +89 -284
- bpy/ops/sound/__init__.pyi +7 -23
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +27 -61
- bpy/ops/ui/__init__.pyi +34 -117
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +49 -134
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +67 -232
- bpy/ops/wm/__init__.pyi +114 -298
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +80 -80
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
|
-
def autocomplete(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
|
-
execution_context: int | str | None = None,
|
|
9
|
-
undo: bool | None = None,
|
|
10
|
-
):
|
|
5
|
+
def autocomplete(execution_context: int | str | None = None, undo: bool | None = None):
|
|
11
6
|
"""Show a list of used text in the open document
|
|
12
7
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
8
|
:type execution_context: int | str | None
|
|
15
9
|
:type undo: bool | None
|
|
16
10
|
"""
|
|
17
11
|
|
|
18
12
|
def comment_toggle(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
13
|
execution_context: int | str | None = None,
|
|
21
14
|
undo: bool | None = None,
|
|
15
|
+
/,
|
|
22
16
|
*,
|
|
23
17
|
type: typing.Literal["TOGGLE", "COMMENT", "UNCOMMENT"] | None = "TOGGLE",
|
|
24
18
|
):
|
|
25
19
|
"""Undocumented, consider contributing.
|
|
26
20
|
|
|
27
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
28
21
|
:type execution_context: int | str | None
|
|
29
22
|
:type undo: bool | None
|
|
30
23
|
:param type: Type, Add or remove comments
|
|
@@ -32,44 +25,37 @@ def comment_toggle(
|
|
|
32
25
|
"""
|
|
33
26
|
|
|
34
27
|
def convert_whitespace(
|
|
35
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
36
28
|
execution_context: int | str | None = None,
|
|
37
29
|
undo: bool | None = None,
|
|
30
|
+
/,
|
|
38
31
|
*,
|
|
39
32
|
type: typing.Literal["SPACES", "TABS"] | None = "SPACES",
|
|
40
33
|
):
|
|
41
34
|
"""Convert whitespaces by type
|
|
42
35
|
|
|
43
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
44
36
|
:type execution_context: int | str | None
|
|
45
37
|
:type undo: bool | None
|
|
46
38
|
:param type: Type, Type of whitespace to convert to
|
|
47
39
|
:type type: typing.Literal['SPACES','TABS'] | None
|
|
48
40
|
"""
|
|
49
41
|
|
|
50
|
-
def copy(
|
|
51
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
52
|
-
execution_context: int | str | None = None,
|
|
53
|
-
undo: bool | None = None,
|
|
54
|
-
):
|
|
42
|
+
def copy(execution_context: int | str | None = None, undo: bool | None = None):
|
|
55
43
|
"""Copy selected text to clipboard
|
|
56
44
|
|
|
57
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
58
45
|
:type execution_context: int | str | None
|
|
59
46
|
:type undo: bool | None
|
|
60
47
|
"""
|
|
61
48
|
|
|
62
49
|
def cursor_set(
|
|
63
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
64
50
|
execution_context: int | str | None = None,
|
|
65
51
|
undo: bool | None = None,
|
|
52
|
+
/,
|
|
66
53
|
*,
|
|
67
54
|
x: int | None = 0,
|
|
68
55
|
y: int | None = 0,
|
|
69
56
|
):
|
|
70
57
|
"""Set cursor position
|
|
71
58
|
|
|
72
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
73
59
|
:type execution_context: int | str | None
|
|
74
60
|
:type undo: bool | None
|
|
75
61
|
:param x: X
|
|
@@ -78,22 +64,17 @@ def cursor_set(
|
|
|
78
64
|
:type y: int | None
|
|
79
65
|
"""
|
|
80
66
|
|
|
81
|
-
def cut(
|
|
82
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
83
|
-
execution_context: int | str | None = None,
|
|
84
|
-
undo: bool | None = None,
|
|
85
|
-
):
|
|
67
|
+
def cut(execution_context: int | str | None = None, undo: bool | None = None):
|
|
86
68
|
"""Cut selected text to clipboard
|
|
87
69
|
|
|
88
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
89
70
|
:type execution_context: int | str | None
|
|
90
71
|
:type undo: bool | None
|
|
91
72
|
"""
|
|
92
73
|
|
|
93
74
|
def delete(
|
|
94
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
95
75
|
execution_context: int | str | None = None,
|
|
96
76
|
undo: bool | None = None,
|
|
77
|
+
/,
|
|
97
78
|
*,
|
|
98
79
|
type: typing.Literal[
|
|
99
80
|
"NEXT_CHARACTER", "PREVIOUS_CHARACTER", "NEXT_WORD", "PREVIOUS_WORD"
|
|
@@ -102,7 +83,6 @@ def delete(
|
|
|
102
83
|
):
|
|
103
84
|
"""Delete text by cursor position
|
|
104
85
|
|
|
105
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
106
86
|
:type execution_context: int | str | None
|
|
107
87
|
:type undo: bool | None
|
|
108
88
|
:param type: Type, Which part of the text to delete
|
|
@@ -110,75 +90,55 @@ def delete(
|
|
|
110
90
|
"""
|
|
111
91
|
|
|
112
92
|
def duplicate_line(
|
|
113
|
-
|
|
114
|
-
execution_context: int | str | None = None,
|
|
115
|
-
undo: bool | None = None,
|
|
93
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
116
94
|
):
|
|
117
95
|
"""Duplicate the current line
|
|
118
96
|
|
|
119
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
120
97
|
:type execution_context: int | str | None
|
|
121
98
|
:type undo: bool | None
|
|
122
99
|
"""
|
|
123
100
|
|
|
124
|
-
def find(
|
|
125
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
126
|
-
execution_context: int | str | None = None,
|
|
127
|
-
undo: bool | None = None,
|
|
128
|
-
):
|
|
101
|
+
def find(execution_context: int | str | None = None, undo: bool | None = None):
|
|
129
102
|
"""Find specified text
|
|
130
103
|
|
|
131
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
132
104
|
:type execution_context: int | str | None
|
|
133
105
|
:type undo: bool | None
|
|
134
106
|
"""
|
|
135
107
|
|
|
136
108
|
def find_set_selected(
|
|
137
|
-
|
|
138
|
-
execution_context: int | str | None = None,
|
|
139
|
-
undo: bool | None = None,
|
|
109
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
140
110
|
):
|
|
141
111
|
"""Find specified text and set as selected
|
|
142
112
|
|
|
143
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
144
113
|
:type execution_context: int | str | None
|
|
145
114
|
:type undo: bool | None
|
|
146
115
|
"""
|
|
147
116
|
|
|
148
|
-
def indent(
|
|
149
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
150
|
-
execution_context: int | str | None = None,
|
|
151
|
-
undo: bool | None = None,
|
|
152
|
-
):
|
|
117
|
+
def indent(execution_context: int | str | None = None, undo: bool | None = None):
|
|
153
118
|
"""Indent selected text
|
|
154
119
|
|
|
155
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
156
120
|
:type execution_context: int | str | None
|
|
157
121
|
:type undo: bool | None
|
|
158
122
|
"""
|
|
159
123
|
|
|
160
124
|
def indent_or_autocomplete(
|
|
161
|
-
|
|
162
|
-
execution_context: int | str | None = None,
|
|
163
|
-
undo: bool | None = None,
|
|
125
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
164
126
|
):
|
|
165
127
|
"""Indent selected text or autocomplete
|
|
166
128
|
|
|
167
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
168
129
|
:type execution_context: int | str | None
|
|
169
130
|
:type undo: bool | None
|
|
170
131
|
"""
|
|
171
132
|
|
|
172
133
|
def insert(
|
|
173
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
174
134
|
execution_context: int | str | None = None,
|
|
175
135
|
undo: bool | None = None,
|
|
136
|
+
/,
|
|
176
137
|
*,
|
|
177
138
|
text: str = "",
|
|
178
139
|
):
|
|
179
140
|
"""Insert text at cursor position
|
|
180
141
|
|
|
181
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
182
142
|
:type execution_context: int | str | None
|
|
183
143
|
:type undo: bool | None
|
|
184
144
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -186,15 +146,14 @@ def insert(
|
|
|
186
146
|
"""
|
|
187
147
|
|
|
188
148
|
def jump(
|
|
189
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
190
149
|
execution_context: int | str | None = None,
|
|
191
150
|
undo: bool | None = None,
|
|
151
|
+
/,
|
|
192
152
|
*,
|
|
193
153
|
line: int | None = 1,
|
|
194
154
|
):
|
|
195
155
|
"""Jump cursor to line
|
|
196
156
|
|
|
197
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
198
157
|
:type execution_context: int | str | None
|
|
199
158
|
:type undo: bool | None
|
|
200
159
|
:param line: Line, Line number to jump to
|
|
@@ -202,9 +161,9 @@ def jump(
|
|
|
202
161
|
"""
|
|
203
162
|
|
|
204
163
|
def jump_to_file_at_point(
|
|
205
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
206
164
|
execution_context: int | str | None = None,
|
|
207
165
|
undo: bool | None = None,
|
|
166
|
+
/,
|
|
208
167
|
*,
|
|
209
168
|
filepath: str = "",
|
|
210
169
|
line: int | None = 0,
|
|
@@ -212,7 +171,6 @@ def jump_to_file_at_point(
|
|
|
212
171
|
):
|
|
213
172
|
"""Jump to a file for the text editor
|
|
214
173
|
|
|
215
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
216
174
|
:type execution_context: int | str | None
|
|
217
175
|
:type undo: bool | None
|
|
218
176
|
:param filepath: Filepath
|
|
@@ -223,46 +181,31 @@ def jump_to_file_at_point(
|
|
|
223
181
|
:type column: int | None
|
|
224
182
|
"""
|
|
225
183
|
|
|
226
|
-
def line_break(
|
|
227
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
228
|
-
execution_context: int | str | None = None,
|
|
229
|
-
undo: bool | None = None,
|
|
230
|
-
):
|
|
184
|
+
def line_break(execution_context: int | str | None = None, undo: bool | None = None):
|
|
231
185
|
"""Insert line break at cursor position
|
|
232
186
|
|
|
233
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
234
187
|
:type execution_context: int | str | None
|
|
235
188
|
:type undo: bool | None
|
|
236
189
|
"""
|
|
237
190
|
|
|
238
|
-
def line_number(
|
|
239
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
240
|
-
execution_context: int | str | None = None,
|
|
241
|
-
undo: bool | None = None,
|
|
242
|
-
):
|
|
191
|
+
def line_number(execution_context: int | str | None = None, undo: bool | None = None):
|
|
243
192
|
"""The current line number
|
|
244
193
|
|
|
245
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
246
194
|
:type execution_context: int | str | None
|
|
247
195
|
:type undo: bool | None
|
|
248
196
|
"""
|
|
249
197
|
|
|
250
|
-
def make_internal(
|
|
251
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
252
|
-
execution_context: int | str | None = None,
|
|
253
|
-
undo: bool | None = None,
|
|
254
|
-
):
|
|
198
|
+
def make_internal(execution_context: int | str | None = None, undo: bool | None = None):
|
|
255
199
|
"""Make active text file internal
|
|
256
200
|
|
|
257
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
258
201
|
:type execution_context: int | str | None
|
|
259
202
|
:type undo: bool | None
|
|
260
203
|
"""
|
|
261
204
|
|
|
262
205
|
def move(
|
|
263
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
264
206
|
execution_context: int | str | None = None,
|
|
265
207
|
undo: bool | None = None,
|
|
208
|
+
/,
|
|
266
209
|
*,
|
|
267
210
|
type: typing.Literal[
|
|
268
211
|
"LINE_BEGIN",
|
|
@@ -282,7 +225,6 @@ def move(
|
|
|
282
225
|
):
|
|
283
226
|
"""Move cursor to position type
|
|
284
227
|
|
|
285
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
286
228
|
:type execution_context: int | str | None
|
|
287
229
|
:type undo: bool | None
|
|
288
230
|
:param type: Type, Where to move cursor to
|
|
@@ -290,15 +232,14 @@ def move(
|
|
|
290
232
|
"""
|
|
291
233
|
|
|
292
234
|
def move_lines(
|
|
293
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
294
235
|
execution_context: int | str | None = None,
|
|
295
236
|
undo: bool | None = None,
|
|
237
|
+
/,
|
|
296
238
|
*,
|
|
297
239
|
direction: typing.Literal["UP", "DOWN"] | None = "DOWN",
|
|
298
240
|
):
|
|
299
241
|
"""Move the currently selected line(s) up/down
|
|
300
242
|
|
|
301
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
302
243
|
:type execution_context: int | str | None
|
|
303
244
|
:type undo: bool | None
|
|
304
245
|
:param direction: Direction
|
|
@@ -306,9 +247,9 @@ def move_lines(
|
|
|
306
247
|
"""
|
|
307
248
|
|
|
308
249
|
def move_select(
|
|
309
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
310
250
|
execution_context: int | str | None = None,
|
|
311
251
|
undo: bool | None = None,
|
|
252
|
+
/,
|
|
312
253
|
*,
|
|
313
254
|
type: typing.Literal[
|
|
314
255
|
"LINE_BEGIN",
|
|
@@ -328,29 +269,23 @@ def move_select(
|
|
|
328
269
|
):
|
|
329
270
|
"""Move the cursor while selecting
|
|
330
271
|
|
|
331
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
332
272
|
:type execution_context: int | str | None
|
|
333
273
|
:type undo: bool | None
|
|
334
274
|
:param type: Type, Where to move cursor to, to make a selection
|
|
335
275
|
:type type: typing.Literal['LINE_BEGIN','LINE_END','FILE_TOP','FILE_BOTTOM','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
|
|
336
276
|
"""
|
|
337
277
|
|
|
338
|
-
def new(
|
|
339
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
340
|
-
execution_context: int | str | None = None,
|
|
341
|
-
undo: bool | None = None,
|
|
342
|
-
):
|
|
278
|
+
def new(execution_context: int | str | None = None, undo: bool | None = None):
|
|
343
279
|
"""Create a new text data-block
|
|
344
280
|
|
|
345
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
346
281
|
:type execution_context: int | str | None
|
|
347
282
|
:type undo: bool | None
|
|
348
283
|
"""
|
|
349
284
|
|
|
350
285
|
def open(
|
|
351
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
352
286
|
execution_context: int | str | None = None,
|
|
353
287
|
undo: bool | None = None,
|
|
288
|
+
/,
|
|
354
289
|
*,
|
|
355
290
|
filepath: str = "",
|
|
356
291
|
hide_props_region: bool | None = True,
|
|
@@ -390,7 +325,6 @@ def open(
|
|
|
390
325
|
):
|
|
391
326
|
"""Open a new text data-block
|
|
392
327
|
|
|
393
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
394
328
|
:type execution_context: int | str | None
|
|
395
329
|
:type undo: bool | None
|
|
396
330
|
:param filepath: File Path, Path to file
|
|
@@ -474,27 +408,23 @@ def open(
|
|
|
474
408
|
"""
|
|
475
409
|
|
|
476
410
|
def overwrite_toggle(
|
|
477
|
-
|
|
478
|
-
execution_context: int | str | None = None,
|
|
479
|
-
undo: bool | None = None,
|
|
411
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
480
412
|
):
|
|
481
413
|
"""Toggle overwrite while typing
|
|
482
414
|
|
|
483
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
484
415
|
:type execution_context: int | str | None
|
|
485
416
|
:type undo: bool | None
|
|
486
417
|
"""
|
|
487
418
|
|
|
488
419
|
def paste(
|
|
489
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
490
420
|
execution_context: int | str | None = None,
|
|
491
421
|
undo: bool | None = None,
|
|
422
|
+
/,
|
|
492
423
|
*,
|
|
493
424
|
selection: bool | None = False,
|
|
494
425
|
):
|
|
495
426
|
"""Paste text from clipboard
|
|
496
427
|
|
|
497
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
498
428
|
:type execution_context: int | str | None
|
|
499
429
|
:type undo: bool | None
|
|
500
430
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
@@ -502,39 +432,30 @@ def paste(
|
|
|
502
432
|
"""
|
|
503
433
|
|
|
504
434
|
def refresh_pyconstraints(
|
|
505
|
-
|
|
506
|
-
execution_context: int | str | None = None,
|
|
507
|
-
undo: bool | None = None,
|
|
435
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
508
436
|
):
|
|
509
437
|
"""Refresh all pyconstraints
|
|
510
438
|
|
|
511
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
512
439
|
:type execution_context: int | str | None
|
|
513
440
|
:type undo: bool | None
|
|
514
441
|
"""
|
|
515
442
|
|
|
516
|
-
def reload(
|
|
517
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
518
|
-
execution_context: int | str | None = None,
|
|
519
|
-
undo: bool | None = None,
|
|
520
|
-
):
|
|
443
|
+
def reload(execution_context: int | str | None = None, undo: bool | None = None):
|
|
521
444
|
"""Reload active text data-block from its file
|
|
522
445
|
|
|
523
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
524
446
|
:type execution_context: int | str | None
|
|
525
447
|
:type undo: bool | None
|
|
526
448
|
"""
|
|
527
449
|
|
|
528
450
|
def replace(
|
|
529
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
530
451
|
execution_context: int | str | None = None,
|
|
531
452
|
undo: bool | None = None,
|
|
453
|
+
/,
|
|
532
454
|
*,
|
|
533
455
|
all: bool | None = False,
|
|
534
456
|
):
|
|
535
457
|
"""Replace text with the specified text
|
|
536
458
|
|
|
537
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
538
459
|
:type execution_context: int | str | None
|
|
539
460
|
:type undo: bool | None
|
|
540
461
|
:param all: Replace All, Replace all occurrences
|
|
@@ -542,62 +463,48 @@ def replace(
|
|
|
542
463
|
"""
|
|
543
464
|
|
|
544
465
|
def replace_set_selected(
|
|
545
|
-
|
|
546
|
-
execution_context: int | str | None = None,
|
|
547
|
-
undo: bool | None = None,
|
|
466
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
548
467
|
):
|
|
549
468
|
"""Replace text with specified text and set as selected
|
|
550
469
|
|
|
551
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
552
470
|
:type execution_context: int | str | None
|
|
553
471
|
:type undo: bool | None
|
|
554
472
|
"""
|
|
555
473
|
|
|
556
474
|
def resolve_conflict(
|
|
557
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
558
475
|
execution_context: int | str | None = None,
|
|
559
476
|
undo: bool | None = None,
|
|
477
|
+
/,
|
|
560
478
|
*,
|
|
561
479
|
resolution: typing.Literal["IGNORE", "RELOAD", "SAVE", "MAKE_INTERNAL"]
|
|
562
480
|
| None = "IGNORE",
|
|
563
481
|
):
|
|
564
482
|
"""When external text is out of sync, resolve the conflict
|
|
565
483
|
|
|
566
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
567
484
|
:type execution_context: int | str | None
|
|
568
485
|
:type undo: bool | None
|
|
569
486
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
570
487
|
:type resolution: typing.Literal['IGNORE','RELOAD','SAVE','MAKE_INTERNAL'] | None
|
|
571
488
|
"""
|
|
572
489
|
|
|
573
|
-
def run_script(
|
|
574
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
575
|
-
execution_context: int | str | None = None,
|
|
576
|
-
undo: bool | None = None,
|
|
577
|
-
):
|
|
490
|
+
def run_script(execution_context: int | str | None = None, undo: bool | None = None):
|
|
578
491
|
"""Run active script
|
|
579
492
|
|
|
580
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
581
493
|
:type execution_context: int | str | None
|
|
582
494
|
:type undo: bool | None
|
|
583
495
|
"""
|
|
584
496
|
|
|
585
|
-
def save(
|
|
586
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
587
|
-
execution_context: int | str | None = None,
|
|
588
|
-
undo: bool | None = None,
|
|
589
|
-
):
|
|
497
|
+
def save(execution_context: int | str | None = None, undo: bool | None = None):
|
|
590
498
|
"""Save active text data-block
|
|
591
499
|
|
|
592
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
593
500
|
:type execution_context: int | str | None
|
|
594
501
|
:type undo: bool | None
|
|
595
502
|
"""
|
|
596
503
|
|
|
597
504
|
def save_as(
|
|
598
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
599
505
|
execution_context: int | str | None = None,
|
|
600
506
|
undo: bool | None = None,
|
|
507
|
+
/,
|
|
601
508
|
*,
|
|
602
509
|
filepath: str = "",
|
|
603
510
|
hide_props_region: bool | None = True,
|
|
@@ -628,7 +535,6 @@ def save_as(
|
|
|
628
535
|
):
|
|
629
536
|
"""Save active text file with options
|
|
630
537
|
|
|
631
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
632
538
|
:type execution_context: int | str | None
|
|
633
539
|
:type undo: bool | None
|
|
634
540
|
:param filepath: File Path, Path to file
|
|
@@ -692,15 +598,14 @@ def save_as(
|
|
|
692
598
|
"""
|
|
693
599
|
|
|
694
600
|
def scroll(
|
|
695
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
696
601
|
execution_context: int | str | None = None,
|
|
697
602
|
undo: bool | None = None,
|
|
603
|
+
/,
|
|
698
604
|
*,
|
|
699
605
|
lines: int | None = 1,
|
|
700
606
|
):
|
|
701
607
|
"""Undocumented, consider contributing.
|
|
702
608
|
|
|
703
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
704
609
|
:type execution_context: int | str | None
|
|
705
610
|
:type undo: bool | None
|
|
706
611
|
:param lines: Lines, Number of lines to scroll
|
|
@@ -708,117 +613,80 @@ def scroll(
|
|
|
708
613
|
"""
|
|
709
614
|
|
|
710
615
|
def scroll_bar(
|
|
711
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
712
616
|
execution_context: int | str | None = None,
|
|
713
617
|
undo: bool | None = None,
|
|
618
|
+
/,
|
|
714
619
|
*,
|
|
715
620
|
lines: int | None = 1,
|
|
716
621
|
):
|
|
717
622
|
"""Undocumented, consider contributing.
|
|
718
623
|
|
|
719
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
720
624
|
:type execution_context: int | str | None
|
|
721
625
|
:type undo: bool | None
|
|
722
626
|
:param lines: Lines, Number of lines to scroll
|
|
723
627
|
:type lines: int | None
|
|
724
628
|
"""
|
|
725
629
|
|
|
726
|
-
def select_all(
|
|
727
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
728
|
-
execution_context: int | str | None = None,
|
|
729
|
-
undo: bool | None = None,
|
|
730
|
-
):
|
|
630
|
+
def select_all(execution_context: int | str | None = None, undo: bool | None = None):
|
|
731
631
|
"""Select all text
|
|
732
632
|
|
|
733
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
734
633
|
:type execution_context: int | str | None
|
|
735
634
|
:type undo: bool | None
|
|
736
635
|
"""
|
|
737
636
|
|
|
738
|
-
def select_line(
|
|
739
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
740
|
-
execution_context: int | str | None = None,
|
|
741
|
-
undo: bool | None = None,
|
|
742
|
-
):
|
|
637
|
+
def select_line(execution_context: int | str | None = None, undo: bool | None = None):
|
|
743
638
|
"""Select text by line
|
|
744
639
|
|
|
745
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
746
640
|
:type execution_context: int | str | None
|
|
747
641
|
:type undo: bool | None
|
|
748
642
|
"""
|
|
749
643
|
|
|
750
|
-
def select_word(
|
|
751
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
752
|
-
execution_context: int | str | None = None,
|
|
753
|
-
undo: bool | None = None,
|
|
754
|
-
):
|
|
644
|
+
def select_word(execution_context: int | str | None = None, undo: bool | None = None):
|
|
755
645
|
"""Select word under cursor
|
|
756
646
|
|
|
757
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
758
647
|
:type execution_context: int | str | None
|
|
759
648
|
:type undo: bool | None
|
|
760
649
|
"""
|
|
761
650
|
|
|
762
|
-
def selection_set(
|
|
763
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
764
|
-
execution_context: int | str | None = None,
|
|
765
|
-
undo: bool | None = None,
|
|
766
|
-
):
|
|
651
|
+
def selection_set(execution_context: int | str | None = None, undo: bool | None = None):
|
|
767
652
|
"""Set text selection
|
|
768
653
|
|
|
769
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
770
654
|
:type execution_context: int | str | None
|
|
771
655
|
:type undo: bool | None
|
|
772
656
|
"""
|
|
773
657
|
|
|
774
|
-
def start_find(
|
|
775
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
776
|
-
execution_context: int | str | None = None,
|
|
777
|
-
undo: bool | None = None,
|
|
778
|
-
):
|
|
658
|
+
def start_find(execution_context: int | str | None = None, undo: bool | None = None):
|
|
779
659
|
"""Start searching text
|
|
780
660
|
|
|
781
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
782
661
|
:type execution_context: int | str | None
|
|
783
662
|
:type undo: bool | None
|
|
784
663
|
"""
|
|
785
664
|
|
|
786
665
|
def to_3d_object(
|
|
787
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
788
666
|
execution_context: int | str | None = None,
|
|
789
667
|
undo: bool | None = None,
|
|
668
|
+
/,
|
|
790
669
|
*,
|
|
791
670
|
split_lines: bool | None = False,
|
|
792
671
|
):
|
|
793
672
|
"""Create 3D text object from active text data-block
|
|
794
673
|
|
|
795
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
796
674
|
:type execution_context: int | str | None
|
|
797
675
|
:type undo: bool | None
|
|
798
676
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
799
677
|
:type split_lines: bool | None
|
|
800
678
|
"""
|
|
801
679
|
|
|
802
|
-
def unindent(
|
|
803
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
804
|
-
execution_context: int | str | None = None,
|
|
805
|
-
undo: bool | None = None,
|
|
806
|
-
):
|
|
680
|
+
def unindent(execution_context: int | str | None = None, undo: bool | None = None):
|
|
807
681
|
"""Unindent selected text
|
|
808
682
|
|
|
809
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
810
683
|
:type execution_context: int | str | None
|
|
811
684
|
:type undo: bool | None
|
|
812
685
|
"""
|
|
813
686
|
|
|
814
|
-
def unlink(
|
|
815
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
816
|
-
execution_context: int | str | None = None,
|
|
817
|
-
undo: bool | None = None,
|
|
818
|
-
):
|
|
687
|
+
def unlink(execution_context: int | str | None = None, undo: bool | None = None):
|
|
819
688
|
"""Unlink active text data-block
|
|
820
689
|
|
|
821
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
822
690
|
:type execution_context: int | str | None
|
|
823
691
|
:type undo: bool | None
|
|
824
692
|
"""
|
bpy/ops/text_editor/__init__.pyi
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
5
|
def preset_add(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
6
|
execution_context: int | str | None = None,
|
|
9
7
|
undo: bool | None = None,
|
|
8
|
+
/,
|
|
10
9
|
*,
|
|
11
10
|
name: str = "",
|
|
12
11
|
remove_name: bool | None = False,
|
|
@@ -14,7 +13,6 @@ def preset_add(
|
|
|
14
13
|
):
|
|
15
14
|
"""Add or remove a Text Editor Preset
|
|
16
15
|
|
|
17
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
18
16
|
:type execution_context: int | str | None
|
|
19
17
|
:type undo: bool | None
|
|
20
18
|
:param name: Name, Name of the preset, used to make the path name
|