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.8.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.8-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.8.tar.gz.

File metadata

  • Download URL: bscintillaedit-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 e0a74e5d6b1f51247e2b4b3bdb7fd50d901e04ed01bd4108ca9fb34aa00eec23
MD5 4b206f052bf89c32f8d6f6226d1b5e30
BLAKE2b-256 12327a1bbea1125704359dca2b10d60c50e188cc7dfa9337386381eab0a8d9dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bscintillaedit-0.0.8-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.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cd9c90e693c712911d37856d6200f8245d33e1ccf2aab9e7484914b51195b279
MD5 905bc700cf12ca3a939da392db222569
BLAKE2b-256 8993d455818a2c5a5155a70014b85f0278791b9f21e68074238c7138c856a767

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