fake-bpy-module 20250612__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -4,13 +4,11 @@ import typing_extensions
|
|
|
4
4
|
import numpy.typing as npt
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
7
|
-
execution_context: int | str | None = None,
|
|
7
|
+
execution_context: int | str | None = None,
|
|
8
|
+
undo: bool | None = None,
|
|
9
|
+
/,
|
|
8
10
|
) -> None:
|
|
9
|
-
"""Show a list of used text in the open document
|
|
10
|
-
|
|
11
|
-
:type execution_context: int | str | None
|
|
12
|
-
:type undo: bool | None
|
|
13
|
-
"""
|
|
11
|
+
"""Show a list of used text in the open document"""
|
|
14
12
|
|
|
15
13
|
def comment_toggle(
|
|
16
14
|
execution_context: int | str | None = None,
|
|
@@ -21,10 +19,7 @@ def comment_toggle(
|
|
|
21
19
|
) -> None:
|
|
22
20
|
"""Undocumented, consider contributing.
|
|
23
21
|
|
|
24
|
-
:type execution_context: int | str | None
|
|
25
|
-
:type undo: bool | None
|
|
26
22
|
:param type: Type, Add or remove comments
|
|
27
|
-
:type type: typing.Literal['TOGGLE','COMMENT','UNCOMMENT'] | None
|
|
28
23
|
"""
|
|
29
24
|
|
|
30
25
|
def convert_whitespace(
|
|
@@ -36,18 +31,15 @@ def convert_whitespace(
|
|
|
36
31
|
) -> None:
|
|
37
32
|
"""Convert whitespaces by type
|
|
38
33
|
|
|
39
|
-
:type execution_context: int | str | None
|
|
40
|
-
:type undo: bool | None
|
|
41
34
|
:param type: Type, Type of whitespace to convert to
|
|
42
|
-
:type type: typing.Literal['SPACES','TABS'] | None
|
|
43
35
|
"""
|
|
44
36
|
|
|
45
|
-
def copy(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"""
|
|
37
|
+
def copy(
|
|
38
|
+
execution_context: int | str | None = None,
|
|
39
|
+
undo: bool | None = None,
|
|
40
|
+
/,
|
|
41
|
+
) -> None:
|
|
42
|
+
"""Copy selected text to clipboard"""
|
|
51
43
|
|
|
52
44
|
def cursor_set(
|
|
53
45
|
execution_context: int | str | None = None,
|
|
@@ -59,20 +51,16 @@ def cursor_set(
|
|
|
59
51
|
) -> None:
|
|
60
52
|
"""Set cursor position
|
|
61
53
|
|
|
62
|
-
:type execution_context: int | str | None
|
|
63
|
-
:type undo: bool | None
|
|
64
54
|
:param x: X
|
|
65
|
-
:type x: int | None
|
|
66
55
|
:param y: Y
|
|
67
|
-
:type y: int | None
|
|
68
56
|
"""
|
|
69
57
|
|
|
70
|
-
def cut(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"""
|
|
58
|
+
def cut(
|
|
59
|
+
execution_context: int | str | None = None,
|
|
60
|
+
undo: bool | None = None,
|
|
61
|
+
/,
|
|
62
|
+
) -> None:
|
|
63
|
+
"""Cut selected text to clipboard"""
|
|
76
64
|
|
|
77
65
|
def delete(
|
|
78
66
|
execution_context: int | str | None = None,
|
|
@@ -86,54 +74,43 @@ def delete(
|
|
|
86
74
|
) -> None:
|
|
87
75
|
"""Delete text by cursor position
|
|
88
76
|
|
|
89
|
-
:type execution_context: int | str | None
|
|
90
|
-
:type undo: bool | None
|
|
91
77
|
:param type: Type, Which part of the text to delete
|
|
92
|
-
:type type: typing.Literal['NEXT_CHARACTER','PREVIOUS_CHARACTER','NEXT_WORD','PREVIOUS_WORD'] | None
|
|
93
78
|
"""
|
|
94
79
|
|
|
95
80
|
def duplicate_line(
|
|
96
|
-
execution_context: int | str | None = None,
|
|
81
|
+
execution_context: int | str | None = None,
|
|
82
|
+
undo: bool | None = None,
|
|
83
|
+
/,
|
|
97
84
|
) -> None:
|
|
98
|
-
"""Duplicate the current line
|
|
99
|
-
|
|
100
|
-
:type execution_context: int | str | None
|
|
101
|
-
:type undo: bool | None
|
|
102
|
-
"""
|
|
103
|
-
|
|
104
|
-
def find(execution_context: int | str | None = None, undo: bool | None = None) -> None:
|
|
105
|
-
"""Find specified text
|
|
85
|
+
"""Duplicate the current line"""
|
|
106
86
|
|
|
107
|
-
|
|
108
|
-
:
|
|
109
|
-
|
|
87
|
+
def find(
|
|
88
|
+
execution_context: int | str | None = None,
|
|
89
|
+
undo: bool | None = None,
|
|
90
|
+
/,
|
|
91
|
+
) -> None:
|
|
92
|
+
"""Find specified text"""
|
|
110
93
|
|
|
111
94
|
def find_set_selected(
|
|
112
|
-
execution_context: int | str | None = None,
|
|
95
|
+
execution_context: int | str | None = None,
|
|
96
|
+
undo: bool | None = None,
|
|
97
|
+
/,
|
|
113
98
|
) -> None:
|
|
114
|
-
"""Find specified text and set as selected
|
|
115
|
-
|
|
116
|
-
:type execution_context: int | str | None
|
|
117
|
-
:type undo: bool | None
|
|
118
|
-
"""
|
|
99
|
+
"""Find specified text and set as selected"""
|
|
119
100
|
|
|
120
101
|
def indent(
|
|
121
|
-
execution_context: int | str | None = None,
|
|
102
|
+
execution_context: int | str | None = None,
|
|
103
|
+
undo: bool | None = None,
|
|
104
|
+
/,
|
|
122
105
|
) -> None:
|
|
123
|
-
"""Indent selected text
|
|
124
|
-
|
|
125
|
-
:type execution_context: int | str | None
|
|
126
|
-
:type undo: bool | None
|
|
127
|
-
"""
|
|
106
|
+
"""Indent selected text"""
|
|
128
107
|
|
|
129
108
|
def indent_or_autocomplete(
|
|
130
|
-
execution_context: int | str | None = None,
|
|
109
|
+
execution_context: int | str | None = None,
|
|
110
|
+
undo: bool | None = None,
|
|
111
|
+
/,
|
|
131
112
|
) -> None:
|
|
132
|
-
"""Indent selected text or autocomplete
|
|
133
|
-
|
|
134
|
-
:type execution_context: int | str | None
|
|
135
|
-
:type undo: bool | None
|
|
136
|
-
"""
|
|
113
|
+
"""Indent selected text or autocomplete"""
|
|
137
114
|
|
|
138
115
|
def insert(
|
|
139
116
|
execution_context: int | str | None = None,
|
|
@@ -144,10 +121,7 @@ def insert(
|
|
|
144
121
|
) -> None:
|
|
145
122
|
"""Insert text at cursor position
|
|
146
123
|
|
|
147
|
-
:type execution_context: int | str | None
|
|
148
|
-
:type undo: bool | None
|
|
149
124
|
:param text: Text, Text to insert at the cursor position
|
|
150
|
-
:type text: str
|
|
151
125
|
"""
|
|
152
126
|
|
|
153
127
|
def jump(
|
|
@@ -159,10 +133,7 @@ def jump(
|
|
|
159
133
|
) -> None:
|
|
160
134
|
"""Jump cursor to line
|
|
161
135
|
|
|
162
|
-
:type execution_context: int | str | None
|
|
163
|
-
:type undo: bool | None
|
|
164
136
|
:param line: Line, Line number to jump to
|
|
165
|
-
:type line: int | None
|
|
166
137
|
"""
|
|
167
138
|
|
|
168
139
|
def jump_to_file_at_point(
|
|
@@ -176,42 +147,31 @@ def jump_to_file_at_point(
|
|
|
176
147
|
) -> None:
|
|
177
148
|
"""Jump to a file for the text editor
|
|
178
149
|
|
|
179
|
-
:type execution_context: int | str | None
|
|
180
|
-
:type undo: bool | None
|
|
181
150
|
:param filepath: Filepath
|
|
182
|
-
:type filepath: str
|
|
183
151
|
:param line: Line, Line to jump to
|
|
184
|
-
:type line: int | None
|
|
185
152
|
:param column: Column, Column to jump to
|
|
186
|
-
:type column: int | None
|
|
187
153
|
"""
|
|
188
154
|
|
|
189
155
|
def line_break(
|
|
190
|
-
execution_context: int | str | None = None,
|
|
156
|
+
execution_context: int | str | None = None,
|
|
157
|
+
undo: bool | None = None,
|
|
158
|
+
/,
|
|
191
159
|
) -> None:
|
|
192
|
-
"""Insert line break at cursor position
|
|
193
|
-
|
|
194
|
-
:type execution_context: int | str | None
|
|
195
|
-
:type undo: bool | None
|
|
196
|
-
"""
|
|
160
|
+
"""Insert line break at cursor position"""
|
|
197
161
|
|
|
198
162
|
def line_number(
|
|
199
|
-
execution_context: int | str | None = None,
|
|
163
|
+
execution_context: int | str | None = None,
|
|
164
|
+
undo: bool | None = None,
|
|
165
|
+
/,
|
|
200
166
|
) -> None:
|
|
201
|
-
"""The current line number
|
|
202
|
-
|
|
203
|
-
:type execution_context: int | str | None
|
|
204
|
-
:type undo: bool | None
|
|
205
|
-
"""
|
|
167
|
+
"""The current line number"""
|
|
206
168
|
|
|
207
169
|
def make_internal(
|
|
208
|
-
execution_context: int | str | None = None,
|
|
170
|
+
execution_context: int | str | None = None,
|
|
171
|
+
undo: bool | None = None,
|
|
172
|
+
/,
|
|
209
173
|
) -> None:
|
|
210
|
-
"""Make active text file internal
|
|
211
|
-
|
|
212
|
-
:type execution_context: int | str | None
|
|
213
|
-
:type undo: bool | None
|
|
214
|
-
"""
|
|
174
|
+
"""Make active text file internal"""
|
|
215
175
|
|
|
216
176
|
def move(
|
|
217
177
|
execution_context: int | str | None = None,
|
|
@@ -236,10 +196,7 @@ def move(
|
|
|
236
196
|
) -> None:
|
|
237
197
|
"""Move cursor to position type
|
|
238
198
|
|
|
239
|
-
:type execution_context: int | str | None
|
|
240
|
-
:type undo: bool | None
|
|
241
199
|
:param type: Type, Where to move cursor to
|
|
242
|
-
: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
|
|
243
200
|
"""
|
|
244
201
|
|
|
245
202
|
def move_lines(
|
|
@@ -251,10 +208,7 @@ def move_lines(
|
|
|
251
208
|
) -> None:
|
|
252
209
|
"""Move the currently selected line(s) up/down
|
|
253
210
|
|
|
254
|
-
:type execution_context: int | str | None
|
|
255
|
-
:type undo: bool | None
|
|
256
211
|
:param direction: Direction
|
|
257
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
258
212
|
"""
|
|
259
213
|
|
|
260
214
|
def move_select(
|
|
@@ -280,18 +234,15 @@ def move_select(
|
|
|
280
234
|
) -> None:
|
|
281
235
|
"""Move the cursor while selecting
|
|
282
236
|
|
|
283
|
-
:type execution_context: int | str | None
|
|
284
|
-
:type undo: bool | None
|
|
285
237
|
:param type: Type, Where to move cursor to, to make a selection
|
|
286
|
-
: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
|
|
287
238
|
"""
|
|
288
239
|
|
|
289
|
-
def new(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
"""
|
|
240
|
+
def new(
|
|
241
|
+
execution_context: int | str | None = None,
|
|
242
|
+
undo: bool | None = None,
|
|
243
|
+
/,
|
|
244
|
+
) -> None:
|
|
245
|
+
"""Create a new text data-block"""
|
|
295
246
|
|
|
296
247
|
def open(
|
|
297
248
|
execution_context: int | str | None = None,
|
|
@@ -318,6 +269,7 @@ def open(
|
|
|
318
269
|
filter_folder: bool | None = True,
|
|
319
270
|
filter_blenlib: bool | None = False,
|
|
320
271
|
filemode: int | None = 9,
|
|
272
|
+
relative_path: bool | None = True,
|
|
321
273
|
display_type: typing.Literal[
|
|
322
274
|
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
323
275
|
]
|
|
@@ -335,48 +287,27 @@ def open(
|
|
|
335
287
|
) -> None:
|
|
336
288
|
"""Open a new text data-block
|
|
337
289
|
|
|
338
|
-
:type execution_context: int | str | None
|
|
339
|
-
:type undo: bool | None
|
|
340
290
|
:param filepath: File Path, Path to file
|
|
341
|
-
:type filepath: str
|
|
342
291
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
343
|
-
:type hide_props_region: bool | None
|
|
344
292
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
345
|
-
:type check_existing: bool | None
|
|
346
293
|
:param filter_blender: Filter .blend files
|
|
347
|
-
:type filter_blender: bool | None
|
|
348
294
|
:param filter_backup: Filter .blend files
|
|
349
|
-
:type filter_backup: bool | None
|
|
350
295
|
:param filter_image: Filter image files
|
|
351
|
-
:type filter_image: bool | None
|
|
352
296
|
:param filter_movie: Filter movie files
|
|
353
|
-
:type filter_movie: bool | None
|
|
354
297
|
:param filter_python: Filter Python files
|
|
355
|
-
:type filter_python: bool | None
|
|
356
298
|
:param filter_font: Filter font files
|
|
357
|
-
:type filter_font: bool | None
|
|
358
299
|
:param filter_sound: Filter sound files
|
|
359
|
-
:type filter_sound: bool | None
|
|
360
300
|
:param filter_text: Filter text files
|
|
361
|
-
:type filter_text: bool | None
|
|
362
301
|
:param filter_archive: Filter archive files
|
|
363
|
-
:type filter_archive: bool | None
|
|
364
302
|
:param filter_btx: Filter btx files
|
|
365
|
-
:type filter_btx: bool | None
|
|
366
303
|
:param filter_alembic: Filter Alembic files
|
|
367
|
-
:type filter_alembic: bool | None
|
|
368
304
|
:param filter_usd: Filter USD files
|
|
369
|
-
:type filter_usd: bool | None
|
|
370
305
|
:param filter_obj: Filter OBJ files
|
|
371
|
-
:type filter_obj: bool | None
|
|
372
306
|
:param filter_volume: Filter OpenVDB volume files
|
|
373
|
-
:type filter_volume: bool | None
|
|
374
307
|
:param filter_folder: Filter folders
|
|
375
|
-
:type filter_folder: bool | None
|
|
376
308
|
:param filter_blenlib: Filter Blender IDs
|
|
377
|
-
:type filter_blenlib: bool | None
|
|
378
309
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
379
|
-
:
|
|
310
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
380
311
|
:param display_type: Display Type
|
|
381
312
|
|
|
382
313
|
DEFAULT
|
|
@@ -390,7 +321,6 @@ def open(
|
|
|
390
321
|
|
|
391
322
|
THUMBNAIL
|
|
392
323
|
Thumbnails -- Display files as thumbnails.
|
|
393
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
394
324
|
:param sort_method: File sorting mode
|
|
395
325
|
|
|
396
326
|
DEFAULT
|
|
@@ -410,19 +340,15 @@ def open(
|
|
|
410
340
|
|
|
411
341
|
ASSET_CATALOG
|
|
412
342
|
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
413
|
-
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
414
343
|
:param internal: Make Internal, Make text file internal after loading
|
|
415
|
-
:type internal: bool | None
|
|
416
344
|
"""
|
|
417
345
|
|
|
418
346
|
def overwrite_toggle(
|
|
419
|
-
execution_context: int | str | None = None,
|
|
347
|
+
execution_context: int | str | None = None,
|
|
348
|
+
undo: bool | None = None,
|
|
349
|
+
/,
|
|
420
350
|
) -> None:
|
|
421
|
-
"""Toggle overwrite while typing
|
|
422
|
-
|
|
423
|
-
:type execution_context: int | str | None
|
|
424
|
-
:type undo: bool | None
|
|
425
|
-
"""
|
|
351
|
+
"""Toggle overwrite while typing"""
|
|
426
352
|
|
|
427
353
|
def paste(
|
|
428
354
|
execution_context: int | str | None = None,
|
|
@@ -433,20 +359,15 @@ def paste(
|
|
|
433
359
|
) -> None:
|
|
434
360
|
"""Paste text from clipboard
|
|
435
361
|
|
|
436
|
-
:type execution_context: int | str | None
|
|
437
|
-
:type undo: bool | None
|
|
438
362
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
439
|
-
:type selection: bool | None
|
|
440
363
|
"""
|
|
441
364
|
|
|
442
365
|
def reload(
|
|
443
|
-
execution_context: int | str | None = None,
|
|
366
|
+
execution_context: int | str | None = None,
|
|
367
|
+
undo: bool | None = None,
|
|
368
|
+
/,
|
|
444
369
|
) -> None:
|
|
445
|
-
"""Reload active text data-block from its file
|
|
446
|
-
|
|
447
|
-
:type execution_context: int | str | None
|
|
448
|
-
:type undo: bool | None
|
|
449
|
-
"""
|
|
370
|
+
"""Reload active text data-block from its file"""
|
|
450
371
|
|
|
451
372
|
def replace(
|
|
452
373
|
execution_context: int | str | None = None,
|
|
@@ -457,20 +378,15 @@ def replace(
|
|
|
457
378
|
) -> None:
|
|
458
379
|
"""Replace text with the specified text
|
|
459
380
|
|
|
460
|
-
:type execution_context: int | str | None
|
|
461
|
-
:type undo: bool | None
|
|
462
381
|
:param all: Replace All, Replace all occurrences
|
|
463
|
-
:type all: bool | None
|
|
464
382
|
"""
|
|
465
383
|
|
|
466
384
|
def replace_set_selected(
|
|
467
|
-
execution_context: int | str | None = None,
|
|
385
|
+
execution_context: int | str | None = None,
|
|
386
|
+
undo: bool | None = None,
|
|
387
|
+
/,
|
|
468
388
|
) -> None:
|
|
469
|
-
"""Replace text with specified text and set as selected
|
|
470
|
-
|
|
471
|
-
:type execution_context: int | str | None
|
|
472
|
-
:type undo: bool | None
|
|
473
|
-
"""
|
|
389
|
+
"""Replace text with specified text and set as selected"""
|
|
474
390
|
|
|
475
391
|
def resolve_conflict(
|
|
476
392
|
execution_context: int | str | None = None,
|
|
@@ -482,27 +398,22 @@ def resolve_conflict(
|
|
|
482
398
|
) -> None:
|
|
483
399
|
"""When external text is out of sync, resolve the conflict
|
|
484
400
|
|
|
485
|
-
:type execution_context: int | str | None
|
|
486
|
-
:type undo: bool | None
|
|
487
401
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
488
|
-
:type resolution: typing.Literal['IGNORE','RELOAD','SAVE','MAKE_INTERNAL'] | None
|
|
489
402
|
"""
|
|
490
403
|
|
|
491
404
|
def run_script(
|
|
492
|
-
execution_context: int | str | None = None,
|
|
405
|
+
execution_context: int | str | None = None,
|
|
406
|
+
undo: bool | None = None,
|
|
407
|
+
/,
|
|
493
408
|
) -> None:
|
|
494
|
-
"""Run active script
|
|
409
|
+
"""Run active script"""
|
|
495
410
|
|
|
496
|
-
|
|
497
|
-
:
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
"""Save active text data-block
|
|
502
|
-
|
|
503
|
-
:type execution_context: int | str | None
|
|
504
|
-
:type undo: bool | None
|
|
505
|
-
"""
|
|
411
|
+
def save(
|
|
412
|
+
execution_context: int | str | None = None,
|
|
413
|
+
undo: bool | None = None,
|
|
414
|
+
/,
|
|
415
|
+
) -> None:
|
|
416
|
+
"""Save active text data-block"""
|
|
506
417
|
|
|
507
418
|
def save_as(
|
|
508
419
|
execution_context: int | str | None = None,
|
|
@@ -537,48 +448,26 @@ def save_as(
|
|
|
537
448
|
) -> None:
|
|
538
449
|
"""Save active text file with options
|
|
539
450
|
|
|
540
|
-
:type execution_context: int | str | None
|
|
541
|
-
:type undo: bool | None
|
|
542
451
|
:param filepath: File Path, Path to file
|
|
543
|
-
:type filepath: str
|
|
544
452
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
545
|
-
:type hide_props_region: bool | None
|
|
546
453
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
547
|
-
:type check_existing: bool | None
|
|
548
454
|
:param filter_blender: Filter .blend files
|
|
549
|
-
:type filter_blender: bool | None
|
|
550
455
|
:param filter_backup: Filter .blend files
|
|
551
|
-
:type filter_backup: bool | None
|
|
552
456
|
:param filter_image: Filter image files
|
|
553
|
-
:type filter_image: bool | None
|
|
554
457
|
:param filter_movie: Filter movie files
|
|
555
|
-
:type filter_movie: bool | None
|
|
556
458
|
:param filter_python: Filter Python files
|
|
557
|
-
:type filter_python: bool | None
|
|
558
459
|
:param filter_font: Filter font files
|
|
559
|
-
:type filter_font: bool | None
|
|
560
460
|
:param filter_sound: Filter sound files
|
|
561
|
-
:type filter_sound: bool | None
|
|
562
461
|
:param filter_text: Filter text files
|
|
563
|
-
:type filter_text: bool | None
|
|
564
462
|
:param filter_archive: Filter archive files
|
|
565
|
-
:type filter_archive: bool | None
|
|
566
463
|
:param filter_btx: Filter btx files
|
|
567
|
-
:type filter_btx: bool | None
|
|
568
464
|
:param filter_alembic: Filter Alembic files
|
|
569
|
-
:type filter_alembic: bool | None
|
|
570
465
|
:param filter_usd: Filter USD files
|
|
571
|
-
:type filter_usd: bool | None
|
|
572
466
|
:param filter_obj: Filter OBJ files
|
|
573
|
-
:type filter_obj: bool | None
|
|
574
467
|
:param filter_volume: Filter OpenVDB volume files
|
|
575
|
-
:type filter_volume: bool | None
|
|
576
468
|
:param filter_folder: Filter folders
|
|
577
|
-
:type filter_folder: bool | None
|
|
578
469
|
:param filter_blenlib: Filter Blender IDs
|
|
579
|
-
:type filter_blenlib: bool | None
|
|
580
470
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
581
|
-
:type filemode: int | None
|
|
582
471
|
:param display_type: Display Type
|
|
583
472
|
|
|
584
473
|
DEFAULT
|
|
@@ -592,9 +481,7 @@ def save_as(
|
|
|
592
481
|
|
|
593
482
|
THUMBNAIL
|
|
594
483
|
Thumbnails -- Display files as thumbnails.
|
|
595
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
596
484
|
:param sort_method: File sorting mode
|
|
597
|
-
:type sort_method: str | None
|
|
598
485
|
"""
|
|
599
486
|
|
|
600
487
|
def scroll(
|
|
@@ -606,10 +493,7 @@ def scroll(
|
|
|
606
493
|
) -> None:
|
|
607
494
|
"""Undocumented, consider contributing.
|
|
608
495
|
|
|
609
|
-
:type execution_context: int | str | None
|
|
610
|
-
:type undo: bool | None
|
|
611
496
|
:param lines: Lines, Number of lines to scroll
|
|
612
|
-
:type lines: int | None
|
|
613
497
|
"""
|
|
614
498
|
|
|
615
499
|
def scroll_bar(
|
|
@@ -621,56 +505,43 @@ def scroll_bar(
|
|
|
621
505
|
) -> None:
|
|
622
506
|
"""Undocumented, consider contributing.
|
|
623
507
|
|
|
624
|
-
:type execution_context: int | str | None
|
|
625
|
-
:type undo: bool | None
|
|
626
508
|
:param lines: Lines, Number of lines to scroll
|
|
627
|
-
:type lines: int | None
|
|
628
509
|
"""
|
|
629
510
|
|
|
630
511
|
def select_all(
|
|
631
|
-
execution_context: int | str | None = None,
|
|
512
|
+
execution_context: int | str | None = None,
|
|
513
|
+
undo: bool | None = None,
|
|
514
|
+
/,
|
|
632
515
|
) -> None:
|
|
633
|
-
"""Select all text
|
|
634
|
-
|
|
635
|
-
:type execution_context: int | str | None
|
|
636
|
-
:type undo: bool | None
|
|
637
|
-
"""
|
|
516
|
+
"""Select all text"""
|
|
638
517
|
|
|
639
518
|
def select_line(
|
|
640
|
-
execution_context: int | str | None = None,
|
|
519
|
+
execution_context: int | str | None = None,
|
|
520
|
+
undo: bool | None = None,
|
|
521
|
+
/,
|
|
641
522
|
) -> None:
|
|
642
|
-
"""Select text by line
|
|
643
|
-
|
|
644
|
-
:type execution_context: int | str | None
|
|
645
|
-
:type undo: bool | None
|
|
646
|
-
"""
|
|
523
|
+
"""Select text by line"""
|
|
647
524
|
|
|
648
525
|
def select_word(
|
|
649
|
-
execution_context: int | str | None = None,
|
|
526
|
+
execution_context: int | str | None = None,
|
|
527
|
+
undo: bool | None = None,
|
|
528
|
+
/,
|
|
650
529
|
) -> None:
|
|
651
|
-
"""Select word under cursor
|
|
652
|
-
|
|
653
|
-
:type execution_context: int | str | None
|
|
654
|
-
:type undo: bool | None
|
|
655
|
-
"""
|
|
530
|
+
"""Select word under cursor"""
|
|
656
531
|
|
|
657
532
|
def selection_set(
|
|
658
|
-
execution_context: int | str | None = None,
|
|
533
|
+
execution_context: int | str | None = None,
|
|
534
|
+
undo: bool | None = None,
|
|
535
|
+
/,
|
|
659
536
|
) -> None:
|
|
660
|
-
"""Set text selection
|
|
661
|
-
|
|
662
|
-
:type execution_context: int | str | None
|
|
663
|
-
:type undo: bool | None
|
|
664
|
-
"""
|
|
537
|
+
"""Set text selection"""
|
|
665
538
|
|
|
666
539
|
def start_find(
|
|
667
|
-
execution_context: int | str | None = None,
|
|
540
|
+
execution_context: int | str | None = None,
|
|
541
|
+
undo: bool | None = None,
|
|
542
|
+
/,
|
|
668
543
|
) -> None:
|
|
669
|
-
"""Start searching text
|
|
670
|
-
|
|
671
|
-
:type execution_context: int | str | None
|
|
672
|
-
:type undo: bool | None
|
|
673
|
-
"""
|
|
544
|
+
"""Start searching text"""
|
|
674
545
|
|
|
675
546
|
def to_3d_object(
|
|
676
547
|
execution_context: int | str | None = None,
|
|
@@ -681,35 +552,26 @@ def to_3d_object(
|
|
|
681
552
|
) -> None:
|
|
682
553
|
"""Create 3D text object from active text data-block
|
|
683
554
|
|
|
684
|
-
:type execution_context: int | str | None
|
|
685
|
-
:type undo: bool | None
|
|
686
555
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
687
|
-
:type split_lines: bool | None
|
|
688
556
|
"""
|
|
689
557
|
|
|
690
558
|
def unindent(
|
|
691
|
-
execution_context: int | str | None = None,
|
|
559
|
+
execution_context: int | str | None = None,
|
|
560
|
+
undo: bool | None = None,
|
|
561
|
+
/,
|
|
692
562
|
) -> None:
|
|
693
|
-
"""Unindent selected text
|
|
694
|
-
|
|
695
|
-
:type execution_context: int | str | None
|
|
696
|
-
:type undo: bool | None
|
|
697
|
-
"""
|
|
563
|
+
"""Unindent selected text"""
|
|
698
564
|
|
|
699
565
|
def unlink(
|
|
700
|
-
execution_context: int | str | None = None,
|
|
566
|
+
execution_context: int | str | None = None,
|
|
567
|
+
undo: bool | None = None,
|
|
568
|
+
/,
|
|
701
569
|
) -> None:
|
|
702
|
-
"""Unlink active text data-block
|
|
703
|
-
|
|
704
|
-
:type execution_context: int | str | None
|
|
705
|
-
:type undo: bool | None
|
|
706
|
-
"""
|
|
570
|
+
"""Unlink active text data-block"""
|
|
707
571
|
|
|
708
572
|
def update_shader(
|
|
709
|
-
execution_context: int | str | None = None,
|
|
573
|
+
execution_context: int | str | None = None,
|
|
574
|
+
undo: bool | None = None,
|
|
575
|
+
/,
|
|
710
576
|
) -> None:
|
|
711
|
-
"""Update users of this shader, such as custom cameras and script nodes, with its new sockets and options
|
|
712
|
-
|
|
713
|
-
:type execution_context: int | str | None
|
|
714
|
-
:type undo: bool | None
|
|
715
|
-
"""
|
|
577
|
+
"""Update users of this shader, such as custom cameras and script nodes, with its new sockets and options"""
|
bpy/ops/text_editor/__init__.pyi
CHANGED
|
@@ -14,12 +14,7 @@ def preset_add(
|
|
|
14
14
|
) -> None:
|
|
15
15
|
"""Add or remove a Text Editor Preset
|
|
16
16
|
|
|
17
|
-
:type execution_context: int | str | None
|
|
18
|
-
:type undo: bool | None
|
|
19
17
|
:param name: Name, Name of the preset, used to make the path name
|
|
20
|
-
:type name: str
|
|
21
18
|
:param remove_name: remove_name
|
|
22
|
-
:type remove_name: bool | None
|
|
23
19
|
:param remove_active: remove_active
|
|
24
|
-
:type remove_active: bool | None
|
|
25
20
|
"""
|