Skip to main content

PySide6 bindings with a widget that wraps the ScintillaEditBase widget from Scintilla project

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

BScintillaEdit

This project is superseded by pyside6-scintilla (MIT-licensed PySide6 binding for Scintilla's ScintillaEditBase). No further development is planned here.

PyPI Downloads

This project provides a BScintillaEdit widget derived from a QScrollArea that embeds the ScintillaBaseEdit from Scintilla. The widget can be used as a simple text editor that supports:

  • showing the line numbers and endings
  • multi-line select and delete

The Python bindings are made with shiboken6 and work with PySide6.

PyPI

The package can be installed from PyPI:

pip install bscintillaedit

Usage

from PySide6.QtWidgets import QApplication

from bscintillaedit import BScintillaEdit

SAMPLE_TEXT = """
Lorem ipsum odor amet, consectetuer adipiscing elit.

Dui enim odio natoque libero accumsan mus maecenas himenaeos.

Sapien est turpis maecenas diam turpis ultrices tempus.
"""


def run() -> None:
    """Start application."""
    app = QApplication()
    window = BScintillaEdit()
    window.setLineEndVisible(True)
    window.setLineNumbersVisible(True)
    window.setLineWrapped(True)
    window.setText(SAMPLE_TEXT)
    window.resize(300, 300)
    window.show()
    app.exec()


if __name__ == "__main__":
    run()

sample_app

License

This project uses:

All the other code from this project is licensed under the MIT License.

This software is not related to the QScintilla or PyQt projects.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bscintillaedit-0.0.7.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bscintillaedit-0.0.7-cp312-cp312-win_amd64.whl (957.0 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file bscintillaedit-0.0.7.tar.gz.

File metadata

  • Download URL: bscintillaedit-0.0.7.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bscintillaedit-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a8c21c02288bd69e191bd11250aef46f61100fae06ca3335b03a5d0b5398c47a
MD5 a2760a0f3fdf5c611967f02eba6fff56
BLAKE2b-256 ba319a0d8f5dacb8b0228d90ca993848d06ccf98e1f9d8a02018da5073a87275

See more details on using hashes here.

File details

Details for the file bscintillaedit-0.0.7-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: bscintillaedit-0.0.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 957.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bscintillaedit-0.0.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc8ef0d9cbf653ba83e51313d73a93ba17788b7d2f3b1011b80d5a3136544cb1
MD5 713d0a10831dd7f9679b9f81b1e764c2
BLAKE2b-256 058e7b3df7e151aa8469c713fd09fdd9e4622af7f68ff308a75fe7519c3f62e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page