py2docfx 0.1.15.dev2025736__py3-none-any.whl → 0.1.15.dev2038852__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.
- py2docfx/docfx_yaml/process_doctree.py +34 -21
- py2docfx/docfx_yaml/tests/test_method_arguments.py +7 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/RECORD +136 -593
- py2docfx/docfx_yaml/tests/test_process_doctree.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/top_level.txt +0 -0
@@ -1,511 +0,0 @@
|
|
1
|
-
#####################################################################
|
2
|
-
#
|
3
|
-
# editor.py
|
4
|
-
#
|
5
|
-
# A general purpose text editor, built on top of the win32ui edit
|
6
|
-
# type, which is built on an MFC CEditView
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# We now support reloading of externally modified documented
|
10
|
-
# (eg, presumably by some other process, such as source control or
|
11
|
-
# another editor.
|
12
|
-
# We also support auto-loading of externally modified files.
|
13
|
-
# - if the current document has not been modified in this
|
14
|
-
# editor, but has been modified on disk, then the file
|
15
|
-
# can be automatically reloaded.
|
16
|
-
#
|
17
|
-
# Note that it will _always_ prompt you if the file in the editor has been modified.
|
18
|
-
|
19
|
-
|
20
|
-
import re
|
21
|
-
|
22
|
-
import win32api
|
23
|
-
import win32con
|
24
|
-
import win32ui
|
25
|
-
from pywin.framework.editor import (
|
26
|
-
GetEditorFontOption,
|
27
|
-
GetEditorOption,
|
28
|
-
defaultCharacterFormat,
|
29
|
-
)
|
30
|
-
from pywin.mfc import afxres
|
31
|
-
from pywin.mfc.docview import RichEditView as ParentEditorView
|
32
|
-
|
33
|
-
from .document import EditorDocumentBase as ParentEditorDocument
|
34
|
-
|
35
|
-
# from pywin.mfc.docview import EditView as ParentEditorView
|
36
|
-
# from pywin.mfc.docview import Document as ParentEditorDocument
|
37
|
-
|
38
|
-
patImport = re.compile(r"import (?P<name>.*)")
|
39
|
-
patIndent = re.compile(r"^([ \t]*[~ \t])")
|
40
|
-
|
41
|
-
ID_LOCATE_FILE = 0xE200
|
42
|
-
ID_GOTO_LINE = 0xE2001
|
43
|
-
# WARNING: Duplicated in document.py and coloreditor.py
|
44
|
-
MSG_CHECK_EXTERNAL_FILE = win32con.WM_USER + 1999
|
45
|
-
|
46
|
-
# Key Codes that modify the bufffer when Ctrl or Alt are NOT pressed.
|
47
|
-
MODIFYING_VK_KEYS = [
|
48
|
-
win32con.VK_BACK,
|
49
|
-
win32con.VK_TAB,
|
50
|
-
win32con.VK_RETURN,
|
51
|
-
win32con.VK_SPACE,
|
52
|
-
win32con.VK_DELETE,
|
53
|
-
]
|
54
|
-
for k in range(48, 91):
|
55
|
-
MODIFYING_VK_KEYS.append(k)
|
56
|
-
|
57
|
-
# Key Codes that modify the bufffer when Ctrl is pressed.
|
58
|
-
MODIFYING_VK_KEYS_CTRL = [
|
59
|
-
win32con.VK_BACK,
|
60
|
-
win32con.VK_RETURN,
|
61
|
-
win32con.VK_SPACE,
|
62
|
-
win32con.VK_DELETE,
|
63
|
-
]
|
64
|
-
|
65
|
-
# Key Codes that modify the bufffer when Alt is pressed.
|
66
|
-
MODIFYING_VK_KEYS_ALT = [
|
67
|
-
win32con.VK_BACK,
|
68
|
-
win32con.VK_RETURN,
|
69
|
-
win32con.VK_SPACE,
|
70
|
-
win32con.VK_DELETE,
|
71
|
-
]
|
72
|
-
|
73
|
-
|
74
|
-
# The editor itself starts here.
|
75
|
-
# Using the MFC Document/View model, we have an EditorDocument, which is responsible for
|
76
|
-
# managing the contents of the file, and a view which is responsible for rendering it.
|
77
|
-
#
|
78
|
-
# Due to a limitation in the Windows edit controls, we are limited to one view
|
79
|
-
# per document, although nothing in this code assumes this (I hope!)
|
80
|
-
|
81
|
-
isRichText = 1 # We are using the Rich Text control. This has not been tested with value "0" for quite some time!
|
82
|
-
|
83
|
-
|
84
|
-
class EditorDocument(ParentEditorDocument):
|
85
|
-
#
|
86
|
-
# File loading and saving operations
|
87
|
-
#
|
88
|
-
def OnOpenDocument(self, filename):
|
89
|
-
#
|
90
|
-
# handle Unix and PC text file format.
|
91
|
-
#
|
92
|
-
|
93
|
-
# Get the "long name" of the file name, as it may have been translated
|
94
|
-
# to short names by the shell.
|
95
|
-
self.SetPathName(filename) # Must set this early!
|
96
|
-
# Now do the work!
|
97
|
-
self.BeginWaitCursor()
|
98
|
-
win32ui.SetStatusText("Loading file...", 1)
|
99
|
-
try:
|
100
|
-
f = open(filename, "rb")
|
101
|
-
except OSError:
|
102
|
-
win32ui.MessageBox(
|
103
|
-
filename
|
104
|
-
+ "\nCan not find this file\nPlease verify that the correct path and file name are given"
|
105
|
-
)
|
106
|
-
self.EndWaitCursor()
|
107
|
-
return 0
|
108
|
-
raw = f.read()
|
109
|
-
f.close()
|
110
|
-
contents = self.TranslateLoadedData(raw)
|
111
|
-
rc = 0
|
112
|
-
try:
|
113
|
-
self.GetFirstView().SetWindowText(contents)
|
114
|
-
rc = 1
|
115
|
-
except TypeError: # Null byte in file.
|
116
|
-
win32ui.MessageBox("This file contains NULL bytes, and can not be edited")
|
117
|
-
rc = 0
|
118
|
-
|
119
|
-
self.EndWaitCursor()
|
120
|
-
self.SetModifiedFlag(0) # No longer dirty
|
121
|
-
self._DocumentStateChanged()
|
122
|
-
return rc
|
123
|
-
|
124
|
-
def TranslateLoadedData(self, data):
|
125
|
-
"""Given raw data read from a file, massage it suitable for the edit window"""
|
126
|
-
# if a CR in the first 250 chars, then perform the expensive translate
|
127
|
-
if data[:250].find("\r") == -1:
|
128
|
-
win32ui.SetStatusText(
|
129
|
-
"Translating from Unix file format - please wait...", 1
|
130
|
-
)
|
131
|
-
return re.sub(r"\r*\n", "\r\n", data)
|
132
|
-
else:
|
133
|
-
return data
|
134
|
-
|
135
|
-
def SaveFile(self, fileName, encoding=None):
|
136
|
-
if isRichText:
|
137
|
-
view = self.GetFirstView()
|
138
|
-
view.SaveTextFile(fileName, encoding=encoding)
|
139
|
-
else: # Old style edit view window.
|
140
|
-
self.GetFirstView().SaveFile(fileName)
|
141
|
-
try:
|
142
|
-
# Make sure line cache has updated info about me!
|
143
|
-
import linecache
|
144
|
-
|
145
|
-
linecache.checkcache()
|
146
|
-
except:
|
147
|
-
pass
|
148
|
-
|
149
|
-
#
|
150
|
-
# Color state stuff
|
151
|
-
#
|
152
|
-
def SetAllLineColors(self, color=None):
|
153
|
-
for view in self.GetAllViews():
|
154
|
-
view.SetAllLineColors(color)
|
155
|
-
|
156
|
-
def SetLineColor(self, lineNo, color):
|
157
|
-
"Color a line of all views"
|
158
|
-
for view in self.GetAllViews():
|
159
|
-
view.SetLineColor(lineNo, color)
|
160
|
-
|
161
|
-
|
162
|
-
# def StreamTextOut(self, data): ### This seems unreliable???
|
163
|
-
# self.saveFileHandle.write(data)
|
164
|
-
# return 1 # keep em coming!
|
165
|
-
|
166
|
-
|
167
|
-
class EditorView(ParentEditorView):
|
168
|
-
def __init__(self, doc):
|
169
|
-
ParentEditorView.__init__(self, doc)
|
170
|
-
if isRichText:
|
171
|
-
self.SetWordWrap(win32ui.CRichEditView_WrapNone)
|
172
|
-
|
173
|
-
self.addToMRU = 1
|
174
|
-
self.HookHandlers()
|
175
|
-
self.bCheckingFile = 0
|
176
|
-
|
177
|
-
self.defCharFormat = GetEditorFontOption("Default Font", defaultCharacterFormat)
|
178
|
-
|
179
|
-
# Smart tabs override everything else if context can be worked out.
|
180
|
-
self.bSmartTabs = GetEditorOption("Smart Tabs", 1)
|
181
|
-
|
182
|
-
self.tabSize = GetEditorOption("Tab Size", 8)
|
183
|
-
self.indentSize = GetEditorOption("Indent Size", 8)
|
184
|
-
# If next indent is at a tab position, and useTabs is set, a tab will be inserted.
|
185
|
-
self.bUseTabs = GetEditorOption("Use Tabs", 1)
|
186
|
-
|
187
|
-
def OnInitialUpdate(self):
|
188
|
-
rc = self._obj_.OnInitialUpdate()
|
189
|
-
self.SetDefaultCharFormat(self.defCharFormat)
|
190
|
-
return rc
|
191
|
-
|
192
|
-
def CutCurLine(self):
|
193
|
-
curLine = self._obj_.LineFromChar()
|
194
|
-
nextLine = curLine + 1
|
195
|
-
start = self._obj_.LineIndex(curLine)
|
196
|
-
end = self._obj_.LineIndex(nextLine)
|
197
|
-
if end == 0: # must be last line.
|
198
|
-
end = start + self.end.GetLineLength(curLine)
|
199
|
-
self._obj_.SetSel(start, end)
|
200
|
-
self._obj_.Cut()
|
201
|
-
|
202
|
-
def _PrepareUserStateChange(self):
|
203
|
-
"Return selection, lineindex, etc info, so it can be restored"
|
204
|
-
self.SetRedraw(0)
|
205
|
-
return self.GetModify(), self.GetSel(), self.GetFirstVisibleLine()
|
206
|
-
|
207
|
-
def _EndUserStateChange(self, info):
|
208
|
-
scrollOff = info[2] - self.GetFirstVisibleLine()
|
209
|
-
if scrollOff:
|
210
|
-
self.LineScroll(scrollOff)
|
211
|
-
self.SetSel(info[1])
|
212
|
-
self.SetModify(info[0])
|
213
|
-
self.SetRedraw(1)
|
214
|
-
self.InvalidateRect()
|
215
|
-
self.UpdateWindow()
|
216
|
-
|
217
|
-
def _UpdateUIForState(self):
|
218
|
-
self.SetReadOnly(self.GetDocument()._IsReadOnly())
|
219
|
-
|
220
|
-
def SetAllLineColors(self, color=None):
|
221
|
-
if isRichText:
|
222
|
-
info = self._PrepareUserStateChange()
|
223
|
-
try:
|
224
|
-
if color is None:
|
225
|
-
color = self.defCharFormat[4]
|
226
|
-
self.SetSel(0, -1)
|
227
|
-
self.SetSelectionCharFormat((win32con.CFM_COLOR, 0, 0, 0, color))
|
228
|
-
finally:
|
229
|
-
self._EndUserStateChange(info)
|
230
|
-
|
231
|
-
def SetLineColor(self, lineNo, color):
|
232
|
-
"lineNo is the 1 based line number to set. If color is None, default color is used."
|
233
|
-
if isRichText:
|
234
|
-
info = self._PrepareUserStateChange()
|
235
|
-
try:
|
236
|
-
if color is None:
|
237
|
-
color = self.defCharFormat[4]
|
238
|
-
lineNo -= 1
|
239
|
-
startIndex = self.LineIndex(lineNo)
|
240
|
-
if startIndex != -1:
|
241
|
-
self.SetSel(startIndex, self.LineIndex(lineNo + 1))
|
242
|
-
self.SetSelectionCharFormat((win32con.CFM_COLOR, 0, 0, 0, color))
|
243
|
-
finally:
|
244
|
-
self._EndUserStateChange(info)
|
245
|
-
|
246
|
-
def Indent(self):
|
247
|
-
"""Insert an indent to move the cursor to the next tab position.
|
248
|
-
|
249
|
-
Honors the tab size and 'use tabs' settings. Assumes the cursor is already at the
|
250
|
-
position to be indented, and the selection is a single character (ie, not a block)
|
251
|
-
"""
|
252
|
-
start, end = self._obj_.GetSel()
|
253
|
-
startLine = self._obj_.LineFromChar(start)
|
254
|
-
line = self._obj_.GetLine(startLine)
|
255
|
-
realCol = start - self._obj_.LineIndex(startLine)
|
256
|
-
# Calulate the next tab stop.
|
257
|
-
# Expand existing tabs.
|
258
|
-
curCol = 0
|
259
|
-
for ch in line[:realCol]:
|
260
|
-
if ch == "\t":
|
261
|
-
curCol = ((curCol / self.tabSize) + 1) * self.tabSize
|
262
|
-
else:
|
263
|
-
curCol += 1
|
264
|
-
nextColumn = ((curCol / self.indentSize) + 1) * self.indentSize
|
265
|
-
# print("curCol is", curCol, "nextColumn is", nextColumn)
|
266
|
-
ins = None
|
267
|
-
if self.bSmartTabs:
|
268
|
-
# Look for some context.
|
269
|
-
if realCol == 0: # Start of the line - see if the line above can tell us
|
270
|
-
lookLine = startLine - 1
|
271
|
-
while lookLine >= 0:
|
272
|
-
check = self._obj_.GetLine(lookLine)[0:1]
|
273
|
-
if check in ("\t", " "):
|
274
|
-
ins = check
|
275
|
-
break
|
276
|
-
lookLine -= 1
|
277
|
-
else: # See if the previous char can tell us
|
278
|
-
check = line[realCol - 1]
|
279
|
-
if check in ("\t", " "):
|
280
|
-
ins = check
|
281
|
-
|
282
|
-
# Either smart tabs off, or not smart enough!
|
283
|
-
# Use the "old style" settings.
|
284
|
-
if ins is None:
|
285
|
-
if self.bUseTabs and nextColumn % self.tabSize == 0:
|
286
|
-
ins = "\t"
|
287
|
-
else:
|
288
|
-
ins = " "
|
289
|
-
|
290
|
-
if ins == " ":
|
291
|
-
# Calc the number of spaces to take us to the next stop
|
292
|
-
ins *= nextColumn - curCol
|
293
|
-
|
294
|
-
self._obj_.ReplaceSel(ins)
|
295
|
-
|
296
|
-
def BlockDent(self, isIndent, startLine, endLine):
|
297
|
-
"Indent/Undent all lines specified"
|
298
|
-
if not self.GetDocument().CheckMakeDocumentWritable():
|
299
|
-
return 0
|
300
|
-
tabSize = self.tabSize # hard-code for now!
|
301
|
-
info = self._PrepareUserStateChange()
|
302
|
-
try:
|
303
|
-
for lineNo in range(startLine, endLine):
|
304
|
-
pos = self._obj_.LineIndex(lineNo)
|
305
|
-
self._obj_.SetSel(pos, pos)
|
306
|
-
if isIndent:
|
307
|
-
self.Indent()
|
308
|
-
else:
|
309
|
-
line = self._obj_.GetLine(lineNo)
|
310
|
-
try:
|
311
|
-
noToDel = 0
|
312
|
-
if line[0] == "\t":
|
313
|
-
noToDel = 1
|
314
|
-
elif line[0] == " ":
|
315
|
-
for noToDel in range(0, tabSize):
|
316
|
-
if line[noToDel] != " ":
|
317
|
-
break
|
318
|
-
else:
|
319
|
-
noToDel = tabSize
|
320
|
-
if noToDel:
|
321
|
-
self._obj_.SetSel(pos, pos + noToDel)
|
322
|
-
self._obj_.Clear()
|
323
|
-
except IndexError:
|
324
|
-
pass
|
325
|
-
finally:
|
326
|
-
self._EndUserStateChange(info)
|
327
|
-
self.GetDocument().SetModifiedFlag(1) # Now dirty
|
328
|
-
self._obj_.SetSel(self.LineIndex(startLine), self.LineIndex(endLine))
|
329
|
-
|
330
|
-
def GotoLine(self, lineNo=None):
|
331
|
-
try:
|
332
|
-
if lineNo is None:
|
333
|
-
lineNo = int(input("Enter Line Number"))
|
334
|
-
except (ValueError, KeyboardInterrupt):
|
335
|
-
return 0
|
336
|
-
self.GetLineCount() # Seems to be needed when file first opened???
|
337
|
-
charNo = self.LineIndex(lineNo - 1)
|
338
|
-
self.SetSel(charNo)
|
339
|
-
|
340
|
-
def HookHandlers(self): # children can override, but should still call me!
|
341
|
-
# self.HookAllKeyStrokes(self.OnKey)
|
342
|
-
self.HookMessage(self.OnCheckExternalDocumentUpdated, MSG_CHECK_EXTERNAL_FILE)
|
343
|
-
self.HookMessage(self.OnRClick, win32con.WM_RBUTTONDOWN)
|
344
|
-
self.HookMessage(self.OnSetFocus, win32con.WM_SETFOCUS)
|
345
|
-
self.HookMessage(self.OnKeyDown, win32con.WM_KEYDOWN)
|
346
|
-
self.HookKeyStroke(self.OnKeyCtrlY, 25) # ^Y
|
347
|
-
self.HookKeyStroke(self.OnKeyCtrlG, 7) # ^G
|
348
|
-
self.HookKeyStroke(self.OnKeyTab, 9) # TAB
|
349
|
-
self.HookKeyStroke(self.OnKeyEnter, 13) # Enter
|
350
|
-
self.HookCommand(self.OnCmdLocateFile, ID_LOCATE_FILE)
|
351
|
-
self.HookCommand(self.OnCmdGotoLine, ID_GOTO_LINE)
|
352
|
-
self.HookCommand(self.OnEditPaste, afxres.ID_EDIT_PASTE)
|
353
|
-
self.HookCommand(self.OnEditCut, afxres.ID_EDIT_CUT)
|
354
|
-
|
355
|
-
# Hook Handlers
|
356
|
-
def OnSetFocus(self, msg):
|
357
|
-
# Even though we use file change notifications, we should be very sure about it here.
|
358
|
-
self.OnCheckExternalDocumentUpdated(msg)
|
359
|
-
|
360
|
-
def OnRClick(self, params):
|
361
|
-
menu = win32ui.CreatePopupMenu()
|
362
|
-
|
363
|
-
# look for a module name
|
364
|
-
line = self._obj_.GetLine().strip()
|
365
|
-
flags = win32con.MF_STRING | win32con.MF_ENABLED
|
366
|
-
matchResult = patImport.match(line)
|
367
|
-
if matchResult and matchResult[0] == line:
|
368
|
-
menu.AppendMenu(
|
369
|
-
flags, ID_LOCATE_FILE, "&Locate %s.py" % matchResult.group("name")
|
370
|
-
)
|
371
|
-
menu.AppendMenu(win32con.MF_SEPARATOR)
|
372
|
-
menu.AppendMenu(flags, win32ui.ID_EDIT_UNDO, "&Undo")
|
373
|
-
menu.AppendMenu(win32con.MF_SEPARATOR)
|
374
|
-
menu.AppendMenu(flags, win32ui.ID_EDIT_CUT, "Cu&t")
|
375
|
-
menu.AppendMenu(flags, win32ui.ID_EDIT_COPY, "&Copy")
|
376
|
-
menu.AppendMenu(flags, win32ui.ID_EDIT_PASTE, "&Paste")
|
377
|
-
menu.AppendMenu(flags, win32con.MF_SEPARATOR)
|
378
|
-
menu.AppendMenu(flags, win32ui.ID_EDIT_SELECT_ALL, "&Select all")
|
379
|
-
menu.AppendMenu(flags, win32con.MF_SEPARATOR)
|
380
|
-
menu.AppendMenu(flags, ID_GOTO_LINE, "&Goto line...")
|
381
|
-
menu.TrackPopupMenu(params[5])
|
382
|
-
return 0
|
383
|
-
|
384
|
-
def OnCmdGotoLine(self, cmd, code):
|
385
|
-
self.GotoLine()
|
386
|
-
return 0
|
387
|
-
|
388
|
-
def OnCmdLocateFile(self, cmd, code):
|
389
|
-
modName = patImport.group("name")
|
390
|
-
if not modName:
|
391
|
-
return 0
|
392
|
-
import pywin.framework.scriptutils
|
393
|
-
|
394
|
-
fileName = pywin.framework.scriptutils.LocatePythonFile(modName)
|
395
|
-
if fileName is None:
|
396
|
-
win32ui.SetStatusText("Can't locate module %s" % modName)
|
397
|
-
else:
|
398
|
-
win32ui.GetApp().OpenDocumentFile(fileName)
|
399
|
-
return 0
|
400
|
-
|
401
|
-
# Key handlers
|
402
|
-
def OnKeyEnter(self, key):
|
403
|
-
if not self.GetDocument().CheckMakeDocumentWritable():
|
404
|
-
return 0
|
405
|
-
curLine = self._obj_.GetLine()
|
406
|
-
self._obj_.ReplaceSel("\r\n") # insert the newline
|
407
|
-
# If the current line indicates the next should be indented,
|
408
|
-
# then copy the current indentation to this line.
|
409
|
-
res = patIndent.match(curLine, 0)
|
410
|
-
if res > 0 and curLine.strip():
|
411
|
-
curIndent = patIndent.group(1)
|
412
|
-
self._obj_.ReplaceSel(curIndent)
|
413
|
-
return 0 # don't pass on
|
414
|
-
|
415
|
-
def OnKeyCtrlY(self, key):
|
416
|
-
if not self.GetDocument().CheckMakeDocumentWritable():
|
417
|
-
return 0
|
418
|
-
self.CutCurLine()
|
419
|
-
return 0 # don't let him have it!
|
420
|
-
|
421
|
-
def OnKeyCtrlG(self, key):
|
422
|
-
self.GotoLine()
|
423
|
-
return 0 # don't let him have it!
|
424
|
-
|
425
|
-
def OnKeyTab(self, key):
|
426
|
-
if not self.GetDocument().CheckMakeDocumentWritable():
|
427
|
-
return 0
|
428
|
-
start, end = self._obj_.GetSel()
|
429
|
-
if start == end: # normal TAB key
|
430
|
-
self.Indent()
|
431
|
-
return 0 # we handled this.
|
432
|
-
|
433
|
-
# Otherwise it is a block indent/dedent.
|
434
|
-
if start > end:
|
435
|
-
start, end = end, start # swap them.
|
436
|
-
startLine = self._obj_.LineFromChar(start)
|
437
|
-
endLine = self._obj_.LineFromChar(end)
|
438
|
-
|
439
|
-
self.BlockDent(win32api.GetKeyState(win32con.VK_SHIFT) >= 0, startLine, endLine)
|
440
|
-
return 0
|
441
|
-
|
442
|
-
def OnEditPaste(self, id, code):
|
443
|
-
# Return 1 if we can make the file editable.(or it already is!)
|
444
|
-
return self.GetDocument().CheckMakeDocumentWritable()
|
445
|
-
|
446
|
-
def OnEditCut(self, id, code):
|
447
|
-
# Return 1 if we can make the file editable.(or it already is!)
|
448
|
-
return self.GetDocument().CheckMakeDocumentWritable()
|
449
|
-
|
450
|
-
def OnKeyDown(self, msg):
|
451
|
-
key = msg[2]
|
452
|
-
if win32api.GetKeyState(win32con.VK_CONTROL) & 0x8000:
|
453
|
-
modList = MODIFYING_VK_KEYS_CTRL
|
454
|
-
elif win32api.GetKeyState(win32con.VK_MENU) & 0x8000:
|
455
|
-
modList = MODIFYING_VK_KEYS_ALT
|
456
|
-
else:
|
457
|
-
modList = MODIFYING_VK_KEYS
|
458
|
-
|
459
|
-
if key in modList:
|
460
|
-
# Return 1 if we can make the file editable.(or it already is!)
|
461
|
-
return self.GetDocument().CheckMakeDocumentWritable()
|
462
|
-
return 1 # Pass it on OK
|
463
|
-
|
464
|
-
# def OnKey(self, key):
|
465
|
-
# return self.GetDocument().CheckMakeDocumentWritable()
|
466
|
-
|
467
|
-
def OnCheckExternalDocumentUpdated(self, msg):
|
468
|
-
if self._obj_ is None or self.bCheckingFile:
|
469
|
-
return
|
470
|
-
self.bCheckingFile = 1
|
471
|
-
self.GetDocument().CheckExternalDocumentUpdated()
|
472
|
-
self.bCheckingFile = 0
|
473
|
-
|
474
|
-
|
475
|
-
from .template import EditorTemplateBase
|
476
|
-
|
477
|
-
|
478
|
-
class EditorTemplate(EditorTemplateBase):
|
479
|
-
def __init__(
|
480
|
-
self, res=win32ui.IDR_TEXTTYPE, makeDoc=None, makeFrame=None, makeView=None
|
481
|
-
):
|
482
|
-
if makeDoc is None:
|
483
|
-
makeDoc = EditorDocument
|
484
|
-
if makeView is None:
|
485
|
-
makeView = EditorView
|
486
|
-
EditorTemplateBase.__init__(self, res, makeDoc, makeFrame, makeView)
|
487
|
-
|
488
|
-
def _CreateDocTemplate(self, resourceId):
|
489
|
-
return win32ui.CreateRichEditDocTemplate(resourceId)
|
490
|
-
|
491
|
-
def CreateWin32uiDocument(self):
|
492
|
-
return self.DoCreateRichEditDoc()
|
493
|
-
|
494
|
-
|
495
|
-
def Create(fileName=None, title=None, template=None):
|
496
|
-
return editorTemplate.OpenDocumentFile(fileName)
|
497
|
-
|
498
|
-
|
499
|
-
from pywin.framework.editor import GetDefaultEditorModuleName
|
500
|
-
|
501
|
-
prefModule = GetDefaultEditorModuleName()
|
502
|
-
# Initialize only if this is the "default" editor.
|
503
|
-
if __name__ == prefModule:
|
504
|
-
# For debugging purposes, when this module may be reloaded many times.
|
505
|
-
try:
|
506
|
-
win32ui.GetApp().RemoveDocTemplate(editorTemplate) # type: ignore[has-type, used-before-def]
|
507
|
-
except (NameError, win32ui.error):
|
508
|
-
pass
|
509
|
-
|
510
|
-
editorTemplate = EditorTemplate()
|
511
|
-
win32ui.GetApp().AddDocTemplate(editorTemplate)
|
@@ -1,74 +0,0 @@
|
|
1
|
-
# frame.py - The MDI frame window for an editor.
|
2
|
-
import pywin.framework.window
|
3
|
-
import win32con
|
4
|
-
import win32ui
|
5
|
-
|
6
|
-
from . import ModuleBrowser
|
7
|
-
|
8
|
-
|
9
|
-
class EditorFrame(pywin.framework.window.MDIChildWnd):
|
10
|
-
def OnCreateClient(self, cp, context):
|
11
|
-
# Create the default view as specified by the template (ie, the editor view)
|
12
|
-
view = context.template.MakeView(context.doc)
|
13
|
-
# Create the browser view.
|
14
|
-
browserView = ModuleBrowser.BrowserView(context.doc)
|
15
|
-
view2 = context.template.MakeView(context.doc)
|
16
|
-
|
17
|
-
splitter = win32ui.CreateSplitter()
|
18
|
-
style = win32con.WS_CHILD | win32con.WS_VISIBLE
|
19
|
-
splitter.CreateStatic(self, 1, 2, style, win32ui.AFX_IDW_PANE_FIRST)
|
20
|
-
sub_splitter = self.sub_splitter = win32ui.CreateSplitter()
|
21
|
-
sub_splitter.CreateStatic(splitter, 2, 1, style, win32ui.AFX_IDW_PANE_FIRST + 1)
|
22
|
-
|
23
|
-
# Note we must add the default view first, so that doc.GetFirstView() returns the editor view.
|
24
|
-
sub_splitter.CreateView(view, 1, 0, (0, 0))
|
25
|
-
splitter.CreateView(browserView, 0, 0, (0, 0))
|
26
|
-
sub_splitter.CreateView(view2, 0, 0, (0, 0))
|
27
|
-
|
28
|
-
# print("First view is", context.doc.GetFirstView())
|
29
|
-
# print("Views are", view, view2, browserView)
|
30
|
-
# print("Parents are", view.GetParent(), view2.GetParent(), browserView.GetParent())
|
31
|
-
# print("Splitter is", splitter)
|
32
|
-
# print("sub splitter is", sub_splitter)
|
33
|
-
# Old
|
34
|
-
# splitter.CreateStatic (self, 1, 2)
|
35
|
-
# splitter.CreateView(view, 0, 1, (0,0)) # size ignored.
|
36
|
-
# splitter.CreateView (browserView, 0, 0, (0, 0))
|
37
|
-
|
38
|
-
# Restrict the size of the browser splitter (and we can avoid filling
|
39
|
-
# it until it is shown)
|
40
|
-
splitter.SetColumnInfo(0, 10, 20)
|
41
|
-
# And the active view is our default view (so it gets initial focus)
|
42
|
-
self.SetActiveView(view)
|
43
|
-
|
44
|
-
def GetEditorView(self):
|
45
|
-
# In a multi-view (eg, splitter) environment, get
|
46
|
-
# an editor (ie, scintilla) view
|
47
|
-
# Look for the splitter opened the most!
|
48
|
-
if self.sub_splitter is None:
|
49
|
-
return self.GetDlgItem(win32ui.AFX_IDW_PANE_FIRST)
|
50
|
-
v1 = self.sub_splitter.GetPane(0, 0)
|
51
|
-
v2 = self.sub_splitter.GetPane(1, 0)
|
52
|
-
r1 = v1.GetWindowRect()
|
53
|
-
r2 = v2.GetWindowRect()
|
54
|
-
if r1[3] - r1[1] > r2[3] - r2[1]:
|
55
|
-
return v1
|
56
|
-
return v2
|
57
|
-
|
58
|
-
def GetBrowserView(self):
|
59
|
-
# XXX - should fix this :-)
|
60
|
-
return self.GetActiveDocument().GetAllViews()[1]
|
61
|
-
|
62
|
-
def OnClose(self):
|
63
|
-
doc = self.GetActiveDocument()
|
64
|
-
if not doc.SaveModified():
|
65
|
-
# Cancel button selected from Save dialog, do not actually close
|
66
|
-
# print("close cancelled")
|
67
|
-
return 0
|
68
|
-
## So the 'Save' dialog doesn't come up twice
|
69
|
-
doc._obj_.SetModifiedFlag(False)
|
70
|
-
|
71
|
-
# Must force the module browser to close itself here (OnDestroy for the view itself is too late!)
|
72
|
-
self.sub_splitter = None # ensure no circles!
|
73
|
-
self.GetBrowserView().DestroyBrowser()
|
74
|
-
return self._obj_.OnClose()
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
|
3
|
-
import win32api
|
4
|
-
import win32ui
|
5
|
-
from pywin.mfc import docview
|
6
|
-
|
7
|
-
from . import frame
|
8
|
-
|
9
|
-
ParentEditorTemplate = docview.DocTemplate
|
10
|
-
|
11
|
-
|
12
|
-
class EditorTemplateBase(ParentEditorTemplate):
|
13
|
-
def __init__(
|
14
|
-
self, res=win32ui.IDR_TEXTTYPE, makeDoc=None, makeFrame=None, makeView=None
|
15
|
-
):
|
16
|
-
if makeFrame is None:
|
17
|
-
makeFrame = frame.EditorFrame
|
18
|
-
ParentEditorTemplate.__init__(self, res, makeDoc, makeFrame, makeView)
|
19
|
-
|
20
|
-
def _CreateDocTemplate(self, resourceId):
|
21
|
-
raise NotImplementedError("You must override this")
|
22
|
-
|
23
|
-
def CreateWin32uiDocument(self):
|
24
|
-
raise NotImplementedError("You must override this")
|
25
|
-
|
26
|
-
def GetFileExtensions(self):
|
27
|
-
return ".txt", ".py"
|
28
|
-
|
29
|
-
def MatchDocType(self, fileName, fileType):
|
30
|
-
doc = self.FindOpenDocument(fileName)
|
31
|
-
if doc:
|
32
|
-
return doc
|
33
|
-
ext = os.path.splitext(fileName)[1].lower()
|
34
|
-
if ext in self.GetFileExtensions():
|
35
|
-
return win32ui.CDocTemplate_Confidence_yesAttemptNative
|
36
|
-
return win32ui.CDocTemplate_Confidence_maybeAttemptForeign
|
37
|
-
|
38
|
-
def InitialUpdateFrame(self, frame, doc, makeVisible=1):
|
39
|
-
self._obj_.InitialUpdateFrame(frame, doc, makeVisible) # call default handler.
|
40
|
-
doc._UpdateUIForState()
|
41
|
-
|
42
|
-
def GetPythonPropertyPages(self):
|
43
|
-
"""Returns a list of property pages"""
|
44
|
-
from . import configui
|
45
|
-
|
46
|
-
return [configui.EditorPropertyPage(), configui.EditorWhitespacePropertyPage()]
|
47
|
-
|
48
|
-
def OpenDocumentFile(self, filename, bMakeVisible=1):
|
49
|
-
if filename is not None:
|
50
|
-
try:
|
51
|
-
path = os.path.split(filename)[0]
|
52
|
-
# print("The editor is translating", "filename", "to")
|
53
|
-
filename = win32api.FindFiles(filename)[0][8]
|
54
|
-
filename = os.path.join(path, filename)
|
55
|
-
# print("filename")
|
56
|
-
except (win32api.error, IndexError) as details:
|
57
|
-
# print("Couldn't get the full filename!", details)
|
58
|
-
pass
|
59
|
-
return self._obj_.OpenDocumentFile(filename, bMakeVisible)
|