Skip to main content

livelex-qt

Small Python library to use livelex with Qt’s QTextDocument

This module depends on livelex.

Homepage: https://github.com/wbsoft/livelex-qt Download: https://pypi.org/project/livelex-qt

Example:

from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import QTextDocument

app = QApplication([])

import livelexqt
import livelex.lang.xml

lexicon = livelex.lang.xml.Xml.root
doc = QTextDocument()
livelexqt.SyntaxHighlighter.instance(doc, lexicon)

# Now the text in the document is automatically highlighted using the
# specified root lexicon.

Metadata

Release files for livelex-qt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livelex-qt 0.3.0
File Size Uploaded
livelex-qt-0.3.0.tar.gz 7.9 kB Details

Release files / livelex-qt-0.3.0.tar.gz

Download URL livelex-qt-0.3.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
590b530071720328450097a62949565fe7356745b570911f002589e8fc9b7a11
BLAKE2b-256 checksum
How to use checksums
64503e3384ae7a70ca05b1decc38d4fdb3581872db0bd3ded9e03c463f683d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page